mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2026-03-25 13:22:54 +01:00
add devterm_keyboard_mini init code
This commit is contained in:
10
Code/devterm_keyboard_mini/helper.ino
Normal file
10
Code/devterm_keyboard_mini/helper.ino
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "helper.h"
|
||||
|
||||
|
||||
uint8_t read_io(uint8_t io) {
|
||||
if(digitalRead(io) == LOW ){
|
||||
return 0;
|
||||
}else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user