In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DynamoBen wrote: [quote="JonnyMac"] I think you could do eight channels -- and I've attached my version of how. The thing is that since you're only processing one lamp channel per ISR you can have more lamp channels, so long as you can organize the divider such that each channel is being processed every ~32 microseconds; with eight channels it works, and SX/Sim shows that there is no problem with the ISR.[/quote] JonnyMac it appears your version doesn't actually dim the outputs, they just flicker. However what you posted is similar to what I'm doing to get 8 outputs. Once I get the zero cross thing sorted I will post my version. BTW I think you could control up to sixteen channels if each interrupt set two outputs, instead of one. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=263685#m285867 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)