diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-06-24 13:51:17 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-06-24 13:51:17 +0200 |
commit | 6bdbdaddc6d7629f51d5c12d7f3480afdf2234f5 (patch) | |
tree | d4100f944a447fdf74657f84801bcb4195a1a601 /src/app | |
parent | defe3e47dd837f9f2ae8447b7148893af8e8f1d0 (diff) |
RF24: Add functions required for reading
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/nrf24l01test/main.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/nrf24l01test/main.cc b/src/app/nrf24l01test/main.cc index c12cbf5..ad1bc11 100644 --- a/src/app/nrf24l01test/main.cc +++ b/src/app/nrf24l01test/main.cc @@ -9,6 +9,9 @@ void loop(void) kout << "status: " << hex << nrf24l01.getStatus() << endl; kout << "write: "; kout << nrf24l01.write("foo", 3, true) << endl; + nrf24l01.startListening(); + arch.delay_ms(10); + nrf24l01.stopListening(); } int main(void) |