Closed economy PR2 inside a FED3 menu

45 views
Skip to first unread message

Renée Poelman

unread,
Nov 29, 2022, 8:28:19 AM11/29/22
to FEDforum
Dear all,
I am trying to create a menu for the FED that also has a option for a closed economy PR2 protocol. I keep getting the error message that 'checkReset is not declared'. However, it works in the original protocol. 

Is there anyone that has used the CEPR2 protocol inside a menu?

Best,
Renée

MenuExample_Iris_MenuORtraining_v2_20221129.ino

Lex

unread,
Nov 29, 2022, 8:44:49 PM11/29/22
to Renée Poelman, FEDforum
Hi Renée,
The "checkReset" function needs to be outside of the void loop().  I moved it to the end of the code and now your menu compiles.  Edited code attached, see if this works for you?  
Best, -Lex  

--
You received this message because you are subscribed to the Google Groups "FEDforum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedforum+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fedforum/ea922b6d-a6fc-4a60-b252-99f71d120277n%40googlegroups.com.
MenuExample_Iris_MenuORtraining_v2_20221129_Fixed.ino
Reply all
Reply to author
Forward
0 new messages