helper.ino 127 B

12345678910
  1. #include "helper.h"
  2. uint8_t read_io(uint8_t io) {
  3. if(digitalRead(io) == LOW ){
  4. return 0;
  5. }else {
  6. return 1;
  7. }
  8. }