CPP 126
Arduino read adc serial By Hightechrobo on 8th October 2023 04:49:12 PM
  1. /*
  2. Hightechrobo learn
  3. by Arian
  4. */
  5. #define sensor A0
  6.  
  7. void setup(){
  8. Serial.begin(9600);
  9. }
  10. void loop(){
  11.         int i  = analog.Read(sensor);
  12.         Serial.println(i);
  13. }

Hightechrobo bin is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.