I recently picked up an STM board and tried to convert one of my Adafruit EPD projects for that. The issue is the pins I am using can not be fit in an int8_t. For example, I am using a pin PB13, and according to STMduino that equals 205, which turns out to be -51 in an int8_t.
I cannot change the pins, because the board is already manufactured. I guess for now I will have a local copy of the library where all the pins are changed to int16_t.
Let me know if there is a better way to handle this.
This is not an issue per se.
I recently picked up an STM board and tried to convert one of my Adafruit EPD projects for that. The issue is the pins I am using can not be fit in an
int8_t
. For example, I am using a pin PB13, and according to STMduino that equals205
, which turns out to be-51
in anint8_t
.I cannot change the pins, because the board is already manufactured. I guess for now I will have a local copy of the library where all the pins are changed to
int16_t
.Let me know if there is a better way to handle this.
Thanks in advance.