Let's Make Robots!

What does this code mean?

TofuRobot's picture

I see this about everywhere in PICAXE codes.

b1= %00110000

what does the percent and all the numbers mean?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
amando96's picture

0 0 1   1  0 0 0 0

0 0 32 16 0 0 0 0

 

32 + 16 = 48

Rudolph's picture

48

TeleFox's picture

All this info is in the manuals, only in more detail, so I suggest you make them your first port of call.
The % symbol indicates that the number following is a binary value, and the numbers are the binary value itself.