I tested the PIC12F1840 and PIC16F1824 with software serial input. PIC frequency set to 8MHz as required PBP at 9600 baud.
It's working, but the response is kinda slow.
1. I just requested a current PBP manual to see if the HWPWM feature now includes >32767Hz.
2. I have the PIC12F1572 data sheet which seems to have a completely differenct PWM operation than...
Unfortunately, same behavior. After sending the command via Bluetooth (I send the command for example: hserout ["Q",dec 155,10,11] in a loop while the pushbutton is pressed). After a while, the servo...
What those two chips have in common is auto context save for interrupts.
i simulated the 1824 and the problem was not experienced, but who would trust a simulator
Competitions are subject to the privacy policy and website terms and conditions of picbasic.co.uk, owned and controlled by Crownhill Associates Limited (“Crownhill”).
The following rules shall apply, together with any instructions or rules specific to any current competition. By entering any of the community run competitions, you are deemed to have accepted the following:
...
Common Development and Distribution License (CDDL) is a free software license, produced by Sun Microsystems, based on the Mozilla Public License (MPL), version 1.1.
Re: 16Bit 125KHz PWM with PIC12F1572
what did you try , post your code
richard Today, 02:14all those calc's are for a 20MHz clock if you use a different OSC then they must be recalculated
the internal OSC is not brilliantly accurate and could...