Professional Documents
Culture Documents
Int Led 13 // Connect LED To Pin 13 Int Pin 7 // Connect Pushbutton To Pin 7 Int Value 0 // Variable To Store The Read Value Void Setup
Int Led 13 // Connect LED To Pin 13 Int Pin 7 // Connect Pushbutton To Pin 7 Int Value 0 // Variable To Store The Read Value Void Setup
float area;
void setup()
Serial.begin(9600);
void loop()
radius = radius + 1;
Serial.print(radius);
Serial.println(area);
delay(1000);
//////////////////////////////////////////////////////////////////////////////////////////////////////////
int led = 13; // connect LED to pin 13
void setup()
void loop()
{
value = digitalRead(pin); // set value equal to the pin 7 input
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////
void setup()
void loop()
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////
const int potPin = A0; // select the input pin for the potentiometer
const int ledPin = LED_BUILTIN; // select the pin for the LED
int val = 0; // variable to store the value coming from the sensor
void setup()
void loop()
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/