Bitcraze Mysteries - Volume 1

Discussions about all things Bitcraze
Post Reply
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Bitcraze Mysteries - Volume 1

Post by chad »

On the side of the new Crazyflie 2.0 box there's an aphorism ("Make your ideas fly") and a little string of binary (10111100).
10111100
10111100
It's clear what the aphorism means but what about the binary string!?

Our old friend python can help us out. Converting a base 2 int to hexadecimal reveals the answer:

Code: Select all

python -c 'print hex(int("10111100", 2))'
Result:

0xbc

Ah ha! It's the abbreviation for Bitcraze in hexadecimal (and incidentally, also the Bitcraze logo).
Bitcraze logo
Bitcraze logo
0xbc.png (8.62 KiB) Viewed 2389 times
A Bitcraze mystery solved! ;)
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
chonchonchon
Beginner
Posts: 18
Joined: Sat Sep 20, 2014 1:47 am

Re: Bitcraze Mysteries - Volume 1

Post by chonchonchon »

Hex code :

0001 = 1
0010 = 2
0011 = 3

0100 = 4
0101 = 5
0110 = 6
0111 = 7

1000 = 8
1001 = 9
1010 = A
1011 = B

1100 = C
1101 = D
1110 = E
1111 = F

Then 11011100

1011 = B
1100 = C

Hex to int on the fly :))
Post Reply