Nicholas Herriot
/
MMA8452_test
A test utility for mma8452
helperFunctions.h@4:489573e65d47, 2013-10-16 (annotated)
- Committer:
- nherriot
- Date:
- Wed Oct 16 14:12:28 2013 +0000
- Revision:
- 4:489573e65d47
A test utility for the mma8452 accelerometer.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nherriot | 4:489573e65d47 | 1 | #include <stdio.h> |
nherriot | 4:489573e65d47 | 2 | #include "mbed.h" |
nherriot | 4:489573e65d47 | 3 | |
nherriot | 4:489573e65d47 | 4 | // This function will print a 7 bit char as a binary number on the screen |
nherriot | 4:489573e65d47 | 5 | void printbincharpad(char c); |
nherriot | 4:489573e65d47 | 6 | |
nherriot | 4:489573e65d47 | 7 | // This function will take two characters and print formatted as a binary number on the screen |
nherriot | 4:489573e65d47 | 8 | void print2bytebinchar(char *buffer); |
nherriot | 4:489573e65d47 | 9 |