From cf639ee6204dfffd7d980e6c4a5ecd848b9a693f Mon Sep 17 00:00:00 2001 From: schneider Date: Thu, 22 Dec 2011 15:05:04 +0100 Subject: [PATCH] added l0dable to show OpenBeacon id --- firmware/l0dable/beaconid.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 firmware/l0dable/beaconid.c diff --git a/firmware/l0dable/beaconid.c b/firmware/l0dable/beaconid.c new file mode 100644 index 0000000..7bed0c1 --- /dev/null +++ b/firmware/l0dable/beaconid.c @@ -0,0 +1,22 @@ +#include +#include + +#include "basic/basic.h" +#include "basic/config.h" + +#include "lcd/render.h" +#include "lcd/print.h" + +#include "funk/nrf24l01p.h" +#include "usetable.h" + +/**************************************************************************/ + +void ram(void) { + lcdClear(); + lcdPrintln("OpenBeaconId:"); + lcdPrintIntHex(GetUUID32()); + lcdRefresh(); + do{ + }while ((getInputRaw())==BTN_NONE); +}