Go Down

Topic: Need help for an Arduino project (Read 724 times) previous topic - next topic

ardly

Presumably you know how to convert between binary and hexadecimal?
Each hexadecimal character respresents exactly 4 bits, as per the list below.

0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111

From that I guess you can see how the first line of the QR code was represented in hexadecimal?

       F            E           B           B          F           8           0          0
XXXX   XXXO   XOXX   XOXX   XXXX   X000   0000   0000

Here are some questions you should try to answer;

What are the advantages and disadvantages of storing a version 1 QR code in arrays of each of these variable types
 
  • bool
  • unsigned char
  • unsigned long (32 bit)
"Facts do not cease to exist because they are ignored" - Aldous Huxley

Go Up