From d32628f5253c61782c94d136147f5170043afbee Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Fri, 24 May 2019 22:55:18 -0600 Subject: [PATCH] display ads131 data in hex --- src/drivers/ao_ads131a0x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/ao_ads131a0x.c b/src/drivers/ao_ads131a0x.c index 23332eee..1bd06c7d 100644 --- a/src/drivers/ao_ads131a0x.c +++ b/src/drivers/ao_ads131a0x.c @@ -259,12 +259,13 @@ ao_ads131a0x_dump(void) { static int done; + // add task here while debugging so we can get to command prompt! if (!done) { done = 1; ao_add_task(&ao_ads131a0x_task, ao_ads131a0x, "ads131a0x"); } - printf ("ADS131A0X value %d %d %d %d\n", + printf ("ADS131A0X value %8x %8x %8x %8x\n", ao_ads131a0x_current.ain[0], ao_ads131a0x_current.ain[1], ao_ads131a0x_current.ain[2], -- 2.30.2