stevstrong
stevstrong
I don't know how WIn11 manages the ports but from your post I think that Arduino access to the port is prohibited. Have you installed the serial driver with admin...
Can you please check if [338020b](https://github.com/rogerclarkmelbourne/Arduino_STM32/commit/338020bee1491a3876d4b0bdd26ea0a395c89c38) solves the issue?
First: we do not support PlatformIO directly. Second: I do not have any Mac, I cannot test it, so I cannot guarantee that your change does not break something else...
use: uint16_t value = *portInputRegister(pin) & digitalPinToBitMask(pin); if value == 0 then pin is "low", otherwise pin is "high".
then try: uint16_t value1 = portInputRegister(pin7) & digitalPinToBitMask(pin7);
What exactly do you mean "it doesn't work"? Which part does not work?
Hi, I would love to hear some good news here, I am also trying to adapt the session object for FastAPI. I would really appreciate any hints.
You need to use the define: `-DUSE_HSI_CLOCK` You can add such line for your variant in boards.txt: https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/d05a1289f1e2eaa5127a4bfed9602e2cd48c6ffe/STM32F1/boards.txt#L402
Glad to hear that. Can you please share the solution with us?
Close as solved.