Go Down

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

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy