Page 1 of 1

Bitcraze Mysteries - Volume 1

Posted: Tue Dec 30, 2014 3:32 am
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 3243 times
A Bitcraze mystery solved! ;)

Re: Bitcraze Mysteries - Volume 1

Posted: Tue Dec 30, 2014 9:44 am
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 :))