Tuesday, June 2, 2015

June 2 - Reading from the Terminal

We installed the gtkterm.

Note: You can't have SDK and GTK open at the same time (have to close SDK after program and run to the board).


For example:
11111011 gives us 251
11111110 gives us 254

When we connect a wire with one side to ground and the other to the following pins, we get the corresponding readings:
Setting:  1111 1011

Pin 1:    1111 1010      254
Pin 2:    1111 1001      253
Pin 3:    1111 1011      251
Pin 4:    1111 0011      247
Pin 5:    1110 1011      239
Pin 6:    1101 1011      223
Pin 7:    1011 1011      191
Pin 8:    0111 1011      127

No comments:

Post a Comment