Step 3: Source code

Here is the source code of this project written in C and compiled using winavr gcc. The source code, Makefile and the hex file is attached.
i am not able to download the schematic in eagle format , the download file has an extension *.tmp . Please help
 i love it, its very cool for my gf! can i buy this one? plz mail me: dzungkts85@gmail.com
This is much better.. maybe you want this:<br /> <object height="344" width="425"> <param name="movie" value="http://www.youtube.com/v/UoM6Rv7zngo&amp;hl=en_US&amp;fs=1&amp;" /> <param name="allowFullScreen" value="true" /> <param name="allowscriptaccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" height="344" src="http://www.youtube.com/v/UoM6Rv7zngo&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" width="425" /></object><br />
Very cool and clever, nice work!
You say "Now wIth 2 pins, there are eight logic combinations: 00, 01, 0Z, 10, 11, 1Z, Z0, Z1 and ZZ.". Your actually showing 9 combinations as would be expected for 2 pins with three states. Also you say "Charlieplexing ... does not exploit the third state (i.e. the high impedence state 'Z') of the pin.". As discussed in the Maxim App Note 1880 "An unlit segment's current source is very high impedance" i.e. 'Z' state. Note too that Charlieplexing has a 1/n duty cycle.
I think you misread what he wrote - of course charlieplexing uses the high impedance state - he says the "charlieplexing technique makes use of this fact ... the conventional multiplexing technique ... does not exploit the third state". ("conventional multiplexing" being non-charlieplexing techniques)
Wow, cool project. Much more complex than what I did with my <a rel="nofollow" href="http://www.instructables.com/id/Arduino-Charliplexed-Heart-just-in-time-for-Valen/">charliplexed heart</a>. Are you going to sell the PCBs? I like the technique!<br/>

About This Instructable


31 favorites


More by cedtlab: Direction Aware Messaging LED Spin Top A CharliePlexed  RGB LED Dice GuGaplexed Valentine LED Heart
Add instructable to: