Announcement

Collapse
No announcement yet.

'myGenieEventHandler' was not declared in this scope

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 'myGenieEventHandler' was not declared in this scope

    HI!
    I'm trying your AppNote 4D-AN-00019 : digital voltmeter application. I have a problem with the arduino sketch. When I'm loading it, I have eachtime this message :
    Click image for larger version

Name:	Capture1.jpg
Views:	128
Size:	38.8 KB
ID:	54952
    I changed nothing in the sketch. The current version of arduino is 1.6.12 and I have the same problem with your 4D-AN- 0010 AppNote. I have the last version of genieArduino.h (6-10-2015)
    Thank you for helping.

  • #2
    Post your arduino code so we can see whats wrong. Im using 1.6.12 with mine fine.

    Comment


    • #3
      HI!
      I found the solution to my problem : 'myGenieEventHandler' was not declared at the beginning of code.

      Comment


      • #4
        getting this msg. Pls suggest that how can resolve it.
        Can an arduino and a AMLCD 43PT inerface without a canbus shield to see the potentiometer value? Please tell also.

        Comment


        • #5
          Hi,

          Welcome to the forum,

          Please make sure that you have this line in your setup routine

          genie.AttachEventHandler(myGenieEventHandler);

          and then this fuction as the Event Handler.

          void myGenieEventHandler(void){

          }

          You can attach a potentiometer to the Anolog inputs of an Arduino this may help

          https://www.arduino.cc/en/tutorial/potentiometer

          Best regards

          Paul

          Comment


          • #6
            Thanks a lot

            Comment

            Working...
            X