constrain

This commit is contained in:
leo 2022-11-28 16:50:45 +01:00
parent e31356aeeb
commit 6bff550993
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,8 @@ int analogRead(int pin);
void digitalWrite(int pin, int level);
void analogWrite(int pin, int dc);
#define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
class serial_c{
public:
void begin(int br);

@ -1 +1 @@
Subproject commit ce0b434e97b67f3418c473741f55fd31ef20684b
Subproject commit c54363fde2edebb39355ba264c1b85dd2258bef4