NEC Near Field Communication RF module library for mbed H001-000003-001 (950MHz), H001-000013-001 (920MHz), TY24FM-E2024 (2.4GHz)
Dependents: NECnfc_sample Drone_air Drone_ground
NEC Near Field Communication RF module library
NEC製の近距離無線モジュール用のライブラリです。
Diff: NECnfc_msg.cpp
- Revision:
- 7:9c963cb53ef7
- Parent:
- 6:2e1fc47e5bca
--- a/NECnfc_msg.cpp Thu Apr 07 00:53:53 2016 +0000 +++ b/NECnfc_msg.cpp Thu Apr 07 00:56:50 2016 +0000 @@ -84,7 +84,6 @@ if (_mode != MODE_READY) { t.start(); - t.stop(); while (_mode != MODE_READY) { poll(); if (t.read() > NEC_TIMEOUT) { @@ -93,6 +92,7 @@ return -1; } } + t.stop(); t.reset(); }