mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-10-31 09:15:51 +00:00
16 lines
296 B
C++
16 lines
296 B
C++
#include "teensy-println.h"
|
|
|
|
namespace arduino_preprocessor_is_buggy {
|
|
|
|
bool serialavailable() {
|
|
// Threads::Scope locker(getSerialLock());
|
|
return Serial.available();
|
|
}
|
|
|
|
char serialgetch() {
|
|
// Threads::Scope locker(getSerialLock());
|
|
return Serial.read();
|
|
}
|
|
|
|
};
|