But his problem was that the component's own TouchPress and/or TouchRelease event code would still be executed afterwards, probably going to a different page, which would prevent displaying the help text correctly.
![arduino pinouts arduino mega pinout arduino pinouts arduino mega pinout](https://i1.wp.com/www.etechnophiles.com/wp-content/uploads/2020/12/Arduino-Mega-Pinout-and-Pin-Diagram-1.jpg)
So, he thought that he'd use a TouchCap component to intercept the event chain before the component's own event code was executed, to decide if, in case the help mode was active, the help screen would be displayed. Since in his project, there are nearly 1000 components on several screens, reworking each single component's event code to decide if the event code should be executed or the help screen displayed, is definitively not an option.
![arduino pinouts arduino mega pinout arduino pinouts arduino mega pinout](https://nerdytechy.com/wp-content/uploads/2021/02/arduino-mini-pro-pinout.png)
That means that after activating this help mode, the user would click on an arbitrary component and instead of executing the component's event code, a help screen with explanations would be displayed. This is only done for the 'AVR pinout' so after installing MegaCore you need to select Tools > Board > ATmega2560, then Tools > Pinout > AVR pinout. What he wants to achieve is activating a "Help" mode on his Nextion project. I gave him the task of making the connector and identify the wire with tape, but I didn't doublecheck it.In the Nextion user forums, a participant from Europe, let's call him M., asked an interesting question. We split tasks I give him more "manual" stuff, and I work on the code and design. And while doping this project, I am teaching electronics to a mate. I realized that the pinout wasnt the same with GRBL for both boards. No wonder it didn't work! A little context here I have not done electronics since I have left college, 5 years ago. I recently upgraded my shapeoko from an Arduino Uno to a mega and I am using a CNC Stepper Shield designed for the Uno. In doing so, I realized that my MOSI was wired to the ground of the module and the ground to the MOSI pin. It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. When I saw that, I went ahead and started to measure voltages (I have just watched a couple of Dave's video recently, and he says 'thou shall check voltages'). The Arduino Mega 2560 is a microcontroller board based on the ATmega2560. I tried what you told me, and tweaked my oscilloscope to get better results for the picture, and while doing boosting the intensity of my faded out CRT, I saw a bunch of noise on the CS, MOSI and MISO pins on the board that I couldn't see before due to the faint image. Do these HIGH/LOWs show on your oscilloscope - both on the pin and on the ICSP header? There are pin mappings to Atmega8 and Atmega 168/328 as well. Below is the pin mapping for the Atmega2560. Detach your SD reader and try the following code that will just toggle pins 50-53 HIGH and LOW every 100ms. A diagram showing the correspondence between the pins on an Arduino board and those of the ATmega2560 microcontroller. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a. External Interrupts: 2 (interrupt 0), 3 (interrupt 1), 18 (interrupt 5), 19 (interrupt 4), 20 (interrupt 3), and 21 (interrupt 2). 50 - MISO - Green - Channel 0 51 - MOSI - White - Channel 1 52 - CLOCK - Yellow - Channel 2 53 - ENABLE - Blue - Channel 3 ICSP1 - Pin1 - MISO1 - Green - Channel 4 ICSP1 - Pin5 - MOSI1 - White - Channel 5 I appreciate this is a "It works on my machine" but the Logic Analyzer shows the same data when connected to MOSI1 and MISO1 pins (middle of the board) It shows nothing when I connect to the MOSI2 and MISO2 pins which are on the second ICSP2 header by the Digital 13 pin. See the graphic below for a (dare I say) mega-map of the Mega’s pins. The 8-bit board with 54 digital pins, 16 analog inputs, and 4 serial ports.
![arduino pinouts arduino mega pinout arduino pinouts arduino mega pinout](https://ampermarket.kz/images/arduino-mega-2560_pinout.png)
Quote from: Avacee on March 27, 2017, 10:34:03 pm And you are definitely using the ICSP1 header in the middle of the board between the chip and reset button? I have the same micro-SD Card Reader so knocked it up on the breadboard with the Logic Analyzer - See photos The Logic Analyzer shows the start of the SPI communication from SD.begin().