Cog confusion
T Chap
Posts: 4,223
I was attempting to run DAC on the same cog as some other i2c stuff, but the DAC seemed to be causing everything to lockup and not work. So I set up the DAC on a new cog, but it will not change the DAC pin's state. Using the DACtest.pin program shown, the pins change with no problem.
It would be best to run the DAC on the same cog, but I am assuming it is conflicting with something, so if a new cog is the only option, can someone please see if there is an obvious error that would cause the pin to stay at 0.
Thanks
Post Edited (originator) : 1/21/2007 6:05:21 AM GMT
It would be best to run the DAC on the same cog, but I am assuming it is conflicting with something, so if a new cog is the only option, can someone please see if there is an obvious error that would cause the pin to stay at 0.
Thanks
Post Edited (originator) : 1/21/2007 6:05:21 AM GMT
spin
666B
Comments
I was thinking that for a new cog, the freqa could be updated with it's own loop updating off a global variable, where the global varioable gets updated via RS232.
How about re-posting the current code that doesn't work?
I moved the Start down a bit, the i2c wil run the relays until it hits the Dac Start, then no more i2c relay although the LCD indicated the loop is running. The DAC outputs do work though.
when what you should have is:
or:
Problem solved! Thanks Mike, you the man
Post Edited (originator) : 1/21/2007 7:12:15 AM GMT
The meter on DC metered mA was extremely low, .06 mA at 3.3, 0mA at 0V. A 470 is shared between two led's, so there are 8 470's total over the 16 optos.
I was testing options to beef up the Prop's output using several other transistor opto's, and said let's see what happens. If it lasted an hour already how good an indication is that to just leave it as is and forget the buffering to beef it up?
The slowly ramped mute is very nice btw, also makes for a great volume control.
www.nteinc.com/specs/3000to3099/pdf/nte3085.pdf
Post Edited (originator) : 1/21/2007 10:45:04 AM GMT