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/NfcDriver.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 | // eventually the NFC drivers should extend this class |
yihui | 0:88960f3eeb2c | 2 | class NfcDriver |
yihui | 0:88960f3eeb2c | 3 | { |
yihui | 0:88960f3eeb2c | 4 | public: |
yihui | 0:88960f3eeb2c | 5 | virtual NfcTag read(uint8_t * uid, int uidLength) = 0; |
yihui | 0:88960f3eeb2c | 6 | virtual bool write(NdefMessage& message, uint8_t * uid, int uidLength) = 0; |
yihui | 0:88960f3eeb2c | 7 | // erase() |
yihui | 0:88960f3eeb2c | 8 | // format() |
yihui | 0:88960f3eeb2c | 9 | } |