Firmata and Lattepanda - excessive CPU usage

Would you like to see more information or a tutorial about how to do something with LattePanda? Post requests here!
Post Reply
User avatar
Nanocad
Posts: 12
Joined: Wed Apr 19, 2017 5:16 pm

Sun Apr 30, 2017 12:31 pm

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

User avatar
Nanocad
Posts: 12
Joined: Wed Apr 19, 2017 5:16 pm

Sun Apr 30, 2017 2:32 pm

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?

Post Reply