Go Down

Topic: How to use Z state in programming ? (Read 441 times) previous topic - next topic

lokeshhhh

Hello,
i m a newbee to arduino. i know the theory behind charlieplexing but donot know how to configure hi impedance state in programs.
Can anybody share a link having a program which controls(individually) say 6 leds from 3 pins?
Thanks for the click.

johnwasser

To set an output pin to 'high impedance' just change it to an input.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

macegr

AND make sure it's set to LOW. Setting it HIGH will enable a pullup, and then it's a fourth state: weakly on.
Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

Go Up