Trying to get the bricks to work from the M4 core. I've disconnected everything using the Device Tree Editor, so I'm figuring everything is disconnected from Linux. I've attached my sketch. I get confirmation that the sensor exists, but can get no further. I am using LXTerminal to log data. BTW, I am a total Arduino newbie. Thanks! Bryan
My advice would be to build up your source code in small steps and see whether each step is correct or not, instead of trying to run a 'large' program at once. So first try to read the temperature and write that to the console, then add more readings. To see if your program is correct you should log into Neo with ssh and you can monitor the output with Code: sudo minicom -D /dev/ttyMCC You can upload a new program each time without the need to restart minicom.
Well Maurice, I am using small steps. The only thing my sketch does is determine if the sensor exists. The next call, to get the sensor ID, fails. My program goes no further; I'd call that a very small step. And I have tried the brick sensor example program; it fails on the first call to sensor.(any function). Thank you, Bryan
Try this one https://github.com/UDOOboard/SI7021/blob/master/examples/UDOOBrick_Humidity/UDOOBrick_Humidity.ino