0

Ameba Arduino IDEcompiler 編譯Binary 值的前面要加 0,如:0B10010001 ,為了相容一般Arduino ,期望下一版本IDE 改進。

錯誤訊息:

sketch_feb12a:1: error: ‘B10010001’ was not declared in this scope

uint8_t t = B10010001;

^

exit status 1
‘B10010001’ was not declared in this scope

sketch_feb12a:1: error: ‘B10010001’ was not declared in this scope

uint8_t t = B10010001;

^

exit status 1
‘B10010001’ was not declared in this scope

williamlai 回答了