2024-01-11 05:21 PM
I'm trying to control LED using GPIO.
The GPIO pin settings are as follows.
PB 8~15 : input data
PB 4~7 : output LED
After analyzing the input data, I want to export the output, but when PB 4 is exported, PB 12 is turned on, and when PB 5 is exported, PB 13 is turned on.
Interference pins have no H/W connection.
How can I solve this problem??
2024-01-11 06:44 PM
A few possibilities:
You're off by 8 in both instances. Perhaps there's a corresponding error in your code.