We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serial.Print("constrain(100,0,10): ") serial.PrintInt(arduino.Constrain(100, 0, 10)) serial.Println("")
の値が
constrain(100,0,10): 21
になる。
#define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
マクロで展開する感じなので、コンパイル後に動的にくる値に対応できない?
The text was updated successfully, but these errors were encountered:
rust未検証
Sorry, something went wrong.
usuyuki
No branches or pull requests
🐛 概要
の値が
になる。
原因
マクロで展開する感じなので、コンパイル後に動的にくる値に対応できない?
備考
The text was updated successfully, but these errors were encountered: