WiringProject / Wiring

Wiring Framework
http://wiring.org.co/
Other
217 stars 168 forks source link

Error with examples MenuBackend #40

Open domonetic opened 9 years ago

domonetic commented 9 years ago

im testing this library but can run with arduino 1.05

C:\Users\Maxi\Documents\uecide\libraries\MenuBackend\examples\HelloMenu\HelloMenu.pde:18: error: 'menuUseEvent' was not declared in this scope C:\Users\Maxi\Documents\uecide\libraries\MenuBackend\examples\HelloMenu\HelloMenu.pde:18: error: 'menuChangeEvent' was not declared in this scope

If change menuUseEvent for MenuUseEvent

C:\Users\Maxi\Documents\uecide\libraries\MenuBackend\examples\HelloMenu\HelloMenu.pde:18: error: expected primary-expression before '(' token C:\Users\Maxi\Documents\uecide\libraries\MenuBackend\examples\HelloMenu\HelloMenu.pde:18: error: expected primary-expression before ',' token C:\Users\Maxi\Documents\uecide\libraries\MenuBackend\examples\HelloMenu\HelloMenu.pde:18: error: expected primary-expression before ')' token

robertinant commented 9 years ago

Sorry, I thought this was Energia related!

dbarragan commented 9 years ago

The library works fine in Wiring, could you confirm this with the latest version of Arduino?

techfixpros commented 7 years ago

Please see http://uecide.org/forum/viewtopic.php?f=14&t=284

Add the following before MenuBackend(menuUseEvent,menuChangeEvent);

void menuChangeEvent(MenuChangeEvent changed); void menuUseEvent(MenuUseEvent used);

AlexanderBrevig commented 7 years ago

I've made an issue about this over at https://github.com/arduino/arduino-builder/issues/180