Announcement

Collapse
No announcement yet.

Reset pin

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

  • Reset pin

    Hi,
    new here, and i was wondering where would i connect the reset pin from the interface board to the Arduino mega?

    Thanks :D

  • #2
    Hello,

    Are you using the 4D Arduino Adaptor Shield? The reset pin is on pin 4 of the shield.
    If you will take a look at the genieArduino_Demo, here is the routine for the reset.

    Code:
    #define RESETLINE 4
    
      pinMode(RESETLINE, OUTPUT);  // Set D4 on Arduino to Output (4D Arduino Adaptor V2 - Display Reset)
      digitalWrite(RESETLINE, 1);  // Reset the Display via D4
      delay(100);
      digitalWrite(RESETLINE, 0);  // unReset the Display via D4
    However, if you are not using the shield, you can assign any pin to the Arduino Mega and toggle the pin as Active Low.

    Code:
    #define RESETLINE 4
    
      pinMode(RESETLINE, OUTPUT); 
      digitalWrite(RESETLINE, 0);  
      delay(100);
      digitalWrite(RESETLINE, 1);
    Best Regards,
    Kevin

    Comment


    • #3
      Thanks for the help much appreciated!

      Comment


      • John Kevin
        John Kevin commented
        Editing a comment
        Hi,

        Sure, no problem. If you still have any concerns, please don't hesitate to ask.

        Best Regards,
        Kevin
    Working...
    X