wrong voltage level output of atmega8 on runninglights. (by 80proof)
this program i used has the same ports output.but when i pressed the button2 the output voltage is not the same,but technically the output voltage should be the same.
(no subject) (by 80proof)
sir yanger, what do you mean double wire? i need to control 12 output LED, whats wrong on my program? sir MGP has good program above there.but i want to control my program using two push buttons. for CCW and CW movement of the running LED lights. not an ADC.
(no subject) (by Jonathan Westhues)
You have two output coils on each of Yout1 to Yout12. This is incorrect, since the output pin can only have one state. There's multiple ways that you could fix the problem; the simplest one is probably to replace your CTC counter (that counts only up) with a counter that counts either up or down, and keep only the first set of output coils. You could make your up/down counter with CTU and CTD counter instructions, or you could make it using an OSR rising-edge trigger and normal arithmetic operations.
LDmicro is working as correctly as possible under the circumstances. Although, it's a bug that you don't get a warning for this error.