summaryrefslogtreecommitdiff
path: root/src/app/nrf24l01test
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-06-24 12:48:14 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-06-24 12:48:14 +0200
commitdefe3e47dd837f9f2ae8447b7148893af8e8f1d0 (patch)
treecbed9022046695ffa118c21c581159d48943a1c0 /src/app/nrf24l01test
parent0dbe2001333b8f6a01e3082ce16e7326db801991 (diff)
import nRF24 TX code
Diffstat (limited to 'src/app/nrf24l01test')
-rw-r--r--src/app/nrf24l01test/main.cc2
1 files changed, 2 insertions, 0 deletions
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)