Nicholas Herriot
/
MMA8452_test
A test utility for mma8452
Diff: helperFunctions.h
- Revision:
- 4:489573e65d47
diff -r 6d888ac31d2c -r 489573e65d47 helperFunctions.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/helperFunctions.h Wed Oct 16 14:12:28 2013 +0000 @@ -0,0 +1,9 @@ +#include <stdio.h> +#include "mbed.h" + +// This function will print a 7 bit char as a binary number on the screen +void printbincharpad(char c); + +// This function will take two characters and print formatted as a binary number on the screen +void print2bytebinchar(char *buffer); +