Hello,
I'm running an app with few threads, reading couple of sensors 10 seconds and showing the results on cosm and an LCD display. One of the sensors is analog and i'm using the standard Readraw to get my values.
After a while ( random 1 , 2 hours or more ) , the app is crashing , with the following message in the console:
[font="consolas;"]A first chance exception of type 'System.NullReferenceException' occurred in SecretLabs.NETMF.Hardware.AnalogInput.dll[/font]
[font="consolas;"]An unhandled exception of type 'System.NullReferenceException' occurred in SecretLabs.NETMF.Hardware.AnalogInput.dll[/font]
I'm using latest Netduino Plus 2 firmware ( 4.2.2 ).Any ideas ?
cheers, Alex