Atmega32 have PWM ? (by Ilie)
Hi Jonatan, I saw in the datasheet for Atmega32 has 4-pin PWM but in the Progam LDmicro this statement can not be used and you can not assign a port.
Port B bit 3
Port D bit 7
Port D bit 5
Port D bit 4
Thank you very much.
(no subject) (by Jonathan Westhues)
Not every feature of every micro is supported. It does seem like it would be possible to generate code for that peripheral, but LDmicro currently doesn't.
(no subject) (by Ilie)
Please help if you're nice to tell me, is likely to generate a frequency between 1-16000 Hz without PWM.
I want to replace the sound instruction that other software have. And I want do that with Ldmicro.
Thanks
(no subject) (by Jonathan Westhues)
There is no good way. Software PWM cannot generate an output faster than 1/(2*Tcycle), so this is much too fast.
Some other tools have instructions to generate such frequencies in software, by bit-banging quickly. But that would stop the PLC from cycling and is therefore not possible in LDmicro.