Difference in pin defines?
Posted: Wed Dec 18, 2024 1:40 pm
Hi I've ran into a strange issue.
When wanting to read an analogue value from PB0 or PB1. I've had to use the defines PB0/1 but PB_0 and PB_1 will always return 0...
While PA_4 and PA_5 will return analogue values.
I'm trying to understand why that's the case, and if that could be a bug?
I had thought P## and P_## were meant to be interchangeable?
This is on the F030RCT6.
Thanks.
When wanting to read an analogue value from PB0 or PB1. I've had to use the defines PB0/1 but PB_0 and PB_1 will always return 0...
While PA_4 and PA_5 will return analogue values.
I'm trying to understand why that's the case, and if that could be a bug?
I had thought P## and P_## were meant to be interchangeable?
This is on the F030RCT6.
Thanks.