dumped all my old arduino stuff in here.
This commit is contained in:
parent
8cc6f23f59
commit
8f8959b76f
76 changed files with 8127 additions and 2 deletions
15
Temp_03/Temp_03.pde
Normal file
15
Temp_03/Temp_03.pde
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
float temp;
|
||||
int tempPin = 0;
|
||||
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(9600);
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
temp = analogRead(tempPin);
|
||||
temp = temp * 0.48828125;
|
||||
Serial.println(temp);
|
||||
delay(1000);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue