From: Bdale Garbee Date: Sat, 25 May 2019 04:55:18 +0000 (-0600) Subject: display ads131 data in hex X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d32628f5253c61782c94d136147f5170043afbee;p=fw%2Faltos display ads131 data in hex --- 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],