B4R Question value 0b11111111 is rejected

candide

Active Member
Licensed User
Longtime User
in my case, i wanted to do something like in Arduino:
Code: Copy
myMCP.setPortMode(0b11111111,A)
but 0b11111111 is rejected...
0xFF is accepted, but do we have a way to use binary format ?
 
in my case, i wanted to do something like in Arduino:
Code: Copy
myMCP.setPortMode(0b11111111,A)
but 0b11111111 is rejected...
0xFF is accepted, but do we have a way to use binary format ?
If you use it in B4R
Code: Copy
myMCP.setPortMode(Bit.ParseInt("11111111",2),A)
 
Upvote 1
Back
Top