demo: display temperature with ring osc frequency

parent 32d04efd
......@@ -20,6 +20,7 @@
#include <uart.h>
#include <hw/tdc.h>
#include "temperature.h"
#include "tdc.h"
static volatile struct TDC_WB *tdc = (void *)0xa0000000;
......@@ -36,6 +37,7 @@ void rofreq()
while(!(tdc->DCTL & TDC_DCTL_ACK));
while(!readchar_nonblock()) {
temp();
channel = 0;
do {
tdc->FCC = TDC_FCC_ST;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment