From defe3e47dd837f9f2ae8447b7148893af8e8f1d0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 24 Jun 2019 12:48:14 +0200 Subject: import nRF24 TX code --- src/app/nrf24l01test/main.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app/nrf24l01test') diff --git a/src/app/nrf24l01test/main.cc b/src/app/nrf24l01test/main.cc index 2f65a7c..c12cbf5 100644 --- a/src/app/nrf24l01test/main.cc +++ b/src/app/nrf24l01test/main.cc @@ -7,6 +7,8 @@ void loop(void) { gpio.led_toggle(1); kout << "status: " << hex << nrf24l01.getStatus() << endl; + kout << "write: "; + kout << nrf24l01.write("foo", 3, true) << endl; } int main(void) -- cgit v1.2.3