@farmeuhly said in PIN number and shields:
Hello, happy new year !
I'm back on my tests...
I have a lot of problems.
1 : problem for uploading sketch on the board, i should remove the "bottom" of the m5stack and bush the boot button for it to work ! And sometimes it fails anyway...
2 : I tried to stop the pins on the "bottom" with the sketch "blink" and those that work are :
0, 2, 3, 5, 12, 13, 15, 16, 17, 19, 21, 22, 26
The others (1, 18, 23, 25, 34, 35, 36) doesn't work.
I don't understand why the same simple sketch work fine on arduino uno board and don't work on the m5stack.
I put the #include <M5Stack.h>, m5.begin(), m5.update... But i have the impression that the selected pins don't work.
What i'm doing wrong ?
Because the esp32 and the mega328p do not have the same pins.
The AtMegas have defined pins but the esp32 uses a matrix of functions that can be assigned to each i/o pin.
Check out the esp32 data sheet for these functions.