From 6bdbdaddc6d7629f51d5c12d7f3480afdf2234f5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 24 Jun 2019 13:51:17 +0200 Subject: RF24: Add functions required for reading --- src/app/nrf24l01test/main.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/app') 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) -- cgit v1.2.3