mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 18:28:50 +01:00
11 lines
127 B
C++
11 lines
127 B
C++
#include "helper.h"
|
|
|
|
|
|
uint8_t read_io(uint8_t io) {
|
|
if(digitalRead(io) == LOW ){
|
|
return 0;
|
|
}else {
|
|
return 1;
|
|
}
|
|
}
|