Pages: [1]   Go Down
Author Topic: How to use Z state in programming ?  (Read 367 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8648
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

To set an output pin to 'high impedance' just change it to an input.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

SF Bay Area
Offline Offline
Edison Member
*
Karma: 11
Posts: 1244
Arduino Ninja
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

AND make sure it's set to LOW. Setting it HIGH will enable a pullup, and then it's a fourth state: weakly on.
Logged

Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

Pages: [1]   Go Up
Jump to: