3 ms·
If I recall correctly, the arduino compiler is actually a C++ compiler so it will require more explicit casts, but it's been some time since I used arduino. Als
by muricula 7y ago
If I recall correctly, the arduino compiler is actually a C++ compiler so it will require more explicit casts, but it's been some time since I used arduino. Also the declaration:
char foo;
may be signed or unsigned depending on the architecture and compiler, which may lead to surprising results.
- muricula 7y agoMultiplication is a binary operator, here binary just means has two inputs. ~x would be a unary operator and x * y would be a binary one.