![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
grove nfc_tag sample program
Dependencies: mbed
main.cpp@0:b939441bcdc7, 2017-03-28 (annotated)
- Committer:
- superphil06
- Date:
- Tue Mar 28 10:21:09 2017 +0000
- Revision:
- 0:b939441bcdc7
- Child:
- 1:c492babe8dc3
nfc_tag sample program
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
superphil06 | 0:b939441bcdc7 | 1 | #include "mbed.h" |
superphil06 | 0:b939441bcdc7 | 2 | |
superphil06 | 0:b939441bcdc7 | 3 | DigitalOut myled(LED1); |
superphil06 | 0:b939441bcdc7 | 4 | |
superphil06 | 0:b939441bcdc7 | 5 | int main() { |
superphil06 | 0:b939441bcdc7 | 6 | while(1) { |
superphil06 | 0:b939441bcdc7 | 7 | myled = 1; |
superphil06 | 0:b939441bcdc7 | 8 | wait(0.2); |
superphil06 | 0:b939441bcdc7 | 9 | myled = 0; |
superphil06 | 0:b939441bcdc7 | 10 | wait(0.2); |
superphil06 | 0:b939441bcdc7 | 11 | } |
superphil06 | 0:b939441bcdc7 | 12 | } |