i new use stm32. i want to ask about the pin.
Serial1 in mega, can i use pin in stm32?
pin 50 and 51 in mega, can i use pin in stm32?
does my scetch code need to be changed ?
if my scetch code needs to be changed there?
does my scetch code need to be added ?
Code: Select all
#include <SPI.h> #include <Adafruit_GFX.h> #include <Adafruit_PCD8544.h> Adafruit_PCD8544 display = Adafruit_PCD8544(7, 6, 5, 4, 3); #define gpsPort Serial1 #include <SoftwareSerial.h> #define PIN_TX 50 #define PIN_RX 51