Thanks, this is just what I was looking for! I'm planning a flashing level-crossing light unit for my model railway. This consists of three lights - one amber and two red, which flash alternately. It looks like with this I can just use two GPIO pins on my Raspberry Pi Pico - one 'wire' can be the hollow metal pole of the sign, with the other going up the middle - which would be perfect.
That's fantastic 😀👏👍 Is "CharliePlexing" the official name for this functionality? I am assuming this is a particular functionality of Python as using AVR for the Arduino for instance, it is not possible to alter the pinMode between INPUT and OUTPUT outside of the "void setup".
@Big Bogey Face, according to this: en.m.wikipedia.org/wiki/Charlieplexing it was named after Charlie Allen. It is not specific to Python or to Arduino. It is technique or concept of minimizing pin requirements. Also, you can alter / modify pin directions(or pinMode) in the main loop of Arduino.
Excellent video thank you
@Harnaik Hothi, your welcome :). Thanks
Interesting! Nice video. Keep it up!
@Alija Bobija, glad that you liked it. Thank you.
That is a very good one George that will make some people think!
@Philip Flinn, indeed. Thanks.
Thanks, this is just what I was looking for! I'm planning a flashing level-crossing light unit for my model railway. This consists of three lights - one amber and two red, which flash alternately. It looks like with this I can just use two GPIO pins on my Raspberry Pi Pico - one 'wire' can be the hollow metal pole of the sign, with the other going up the middle - which would be perfect.
That's fantastic 😀👏👍
Is "CharliePlexing" the official name for this functionality?
I am assuming this is a particular functionality of Python as using AVR for the Arduino for instance, it is not possible to alter the pinMode between INPUT and OUTPUT outside of the "void setup".
@Big Bogey Face, according to this: en.m.wikipedia.org/wiki/Charlieplexing it was named after Charlie Allen. It is not specific to Python or to Arduino. It is technique or concept of minimizing pin requirements.
Also, you can alter / modify pin directions(or pinMode) in the main loop of Arduino.
@@TechToTinker
Oh, Awesome!!! 👍
I didn't know you could alternate the pinMode of Arduino pins in the void loop
I'll give that a try 👍
Thanks 😊👍🤙
@Big Bogey Face, that's cool. Cheers