Translations of this page:
About this Article
How to do this,please refer to light led and how to connect cubieboard and arduino
int potPin = 0; void setup() { Serial.begin(9600); } void loop() { int val; int dat; val=analogRead(0); dat=(125*val)>>8; Serial.print("Tep:"); Serial.print(dat); Serial.println("C"); delay(500); }