Page 1 of 1

Firmata and Lattepanda - excessive CPU usage

Posted: Sun Apr 30, 2017 12:31 pm
by Nanocad
Hey guys

I was toying with my Lattepanda (4/64) and managed to blink the LED on the Leonardo using VS C# and the Firmata library. I have used Kevin's (LP) sample code to achieve this.

The problem is the CPU is running between 30~40% each and every time I use the Firmata libraries. Does it for the LED blink sample but also in other examples. The white LED on the LattePanda stays ON even if I don;t loop anything. Looks like the COM conn is stuck or something.

Do any of you have modified the LP's Arduino.cs or Firmata to lower the load of the CPU? Mind to share what you are doing because in its out of the box state it is unusable (CPU heat up to 70deg in <1min).

Thanks

Image

Re: Firmata and Lattepanda - excessive CPU usage

Posted: Sun Apr 30, 2017 2:32 pm
by Nanocad
Tried post below
viewtopic.php?f=10&t=1139&p=5374#p4911

However as soon as you request something that loop e.g every 1 sec, the Leonardo crash and reboot itself.

Any other workaround guys?