Open
Description
Tom sez...
I did an ASSET training on Duo today and we did the export to Arduino, which
worked well. I found one minor bug - apparently the Arduino compiler chokes on
functions that start with a number. So we had someone create expressions called
72move and 144move and it blew up. I changed them to move72 and move144 and it
was happy.
Pretty minor, but wanted to let you know - easy fix seems to be to check if the
first character of a function is a number. If it is, we prepend a letter to it.
--------------------------
Look up the naming rules for Arduino code, make sure our exported names conform.
Original issue reported on code.google.com by garthabr...@gmail.com
on 8 Jan 2015 at 10:41
- Blocking: Another bug in export to Arduino #188