003 - Raspberry Pi Pico: Charlieplexing

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 11

  • @harnaikhothi3277
    @harnaikhothi3277 3 года назад

    Excellent video thank you

    • @TechToTinker
      @TechToTinker  3 года назад

      @Harnaik Hothi, your welcome :). Thanks

  • @abobija
    @abobija 3 года назад

    Interesting! Nice video. Keep it up!

    • @TechToTinker
      @TechToTinker  3 года назад

      @Alija Bobija, glad that you liked it. Thank you.

  • @pflinn
    @pflinn 3 года назад

    That is a very good one George that will make some people think!

  • @paterpracticus
    @paterpracticus Год назад

    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.

  • @bigbogeyface
    @bigbogeyface 3 года назад +1

    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".

    • @TechToTinker
      @TechToTinker  3 года назад +2

      @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.

    • @bigbogeyface
      @bigbogeyface 3 года назад

      @@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 😊👍🤙

    • @TechToTinker
      @TechToTinker  3 года назад +1

      @Big Bogey Face, that's cool. Cheers