to colorize a colorful pixel with a simple touch using nfc technology
Dependencies: Chainable_RGB_LED mbed
use Arch, NFC Shield and Grove - Chainable RGB LED to DIY a touch pixel. Then use an Android with NFC support to colorize it.
The project is on https://github.com/Seeed-Studio/TouchPixel
nfc/Ndef.h@0:88960f3eeb2c, 2013-12-27 (annotated)
- Committer:
- yihui
- Date:
- Fri Dec 27 01:46:32 2013 +0000
- Revision:
- 0:88960f3eeb2c
initial
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yihui | 0:88960f3eeb2c | 1 | #ifndef Ndef_h |
yihui | 0:88960f3eeb2c | 2 | #define Ndef_h |
yihui | 0:88960f3eeb2c | 3 | |
yihui | 0:88960f3eeb2c | 4 | /* NOTE: To use the Ndef library in your code, don't include Ndef.h |
yihui | 0:88960f3eeb2c | 5 | See README.md for details on which files to include in your sketch. |
yihui | 0:88960f3eeb2c | 6 | */ |
yihui | 0:88960f3eeb2c | 7 | #include <stdint.h> |
yihui | 0:88960f3eeb2c | 8 | |
yihui | 0:88960f3eeb2c | 9 | void PrintHex(const uint8_t *data, const long numuint8_ts); |
yihui | 0:88960f3eeb2c | 10 | void PrintHexChar(const uint8_t *data, const long numuint8_ts); |
yihui | 0:88960f3eeb2c | 11 | void DumpHex(const uint8_t *data, const long numuint8_ts, const int blockSize); |
yihui | 0:88960f3eeb2c | 12 | |
yihui | 0:88960f3eeb2c | 13 | #endif |