Any idea on how to emulate digitalRead in
https://github.com/ChrisMicro/ArduinoOnPc/blob/master/src/cores/arduino/wiring_digital.cpp#L35 ?
- Keyboard cannot be used since can interfering with serial link.
- Like kernel polling files and doing some
echo "1" > gpio_3
- Other idea ?
See also marcmerlin#8