Mixtel90
 Guru
 Joined: 05/10/2019 Location: United KingdomPosts: 8964 |
| Posted: 08:19am 27 Sep 2022 |
|
|
|
I don't know this application, but the usual need for open collector is to pull a load down to ground. Note that even if the Pico can do open collector (actually open drain) then the voltage on the pin can't exceed 3.6V so it can't be used for level shifting to a higher voltage.
When you look at it that way any load that needs to be pulled down is simply connected between 3V3 and the output pin - there's no need for an open drain output. Simply use PIN(mypin)=0 to turn the load on and PIN(mypin)=1 to turn it off again. Edited 2022-09-27 18:21 by Mixtel90 |