summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/main.c b/main.c
deleted file mode 100644
index fed243c..0000000
--- a/main.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <stdint.h>
-#include <string.h>
-
-#include "nrfm.h"
-#include "uart.h"
-
-int main(void)
-{
- const char *s = "hello world!";
-
- uint8_t rxaddr[] = { 194, 178, 82 };
- uint8_t txaddr[] = { 194, 178, 83 };
-
- uart_init();
- radio_init(rxaddr);
- radio_print_config();
-
- radio_sendto(txaddr, s, strlen(s));
-
- return 0;
-}