that's PulsPin =1 for 50000uS an 0 for maybe 2uS , somehow I doubt that's your intentrichard Today, 05:26
Addendum to my post with code included. Line 176 should read "PulsePin = 0" A typo in my transferring the code. Sorry.MillicentBear Today, 02:32
Analyser shows the clock "ticking" at 1MHz, corresponding to the default 4MHz/4, not the 2MHz I intended to set.
The analyser shows GPIO.5 going Hi and staying there until the power is turned off....
First post your code here...
Clkout is FOSC/4, so OSC is set to 8MHz, you should get 2MHz on pin.
I have been testing a program for a 12F683 to drive an RC servo. The compiler is Picbasic Pro ver 3 and both QL 200 and IDE 2 programmers give the same result. The programmed chip does nothing. ...MillicentBear Yesterday, 02:03
For the #1, I've read 16F1829 datasheet, and it says that it can emulate 555 timer in hardware, so I guess, it might be possible to do what I want.
For the #2, I see this In the...
1) For a short answer I would say no, not really but a standard timer interrupt can easily be used (which then obviously uses a combination of hardware (the timer) and software (the interrupt service...HenrikOlsson - 19th February 2017, 11:39
| PICBASIC PRO™ Compiler 3.0 PBP is a BASIC programming language for Microchip's PIC microcontrollers.
Version 3 is a major evolution of this popular product, making it even more capable, stable, and reliable. All the years of development culminate here, with many new capabilities and improvements. Come see why thousands of engineers, educators and hobbyists have depended on PBP for more than a decade.
Software activation keys are delivered electronically after purchase.
15 Day Trial Before Activation Key is Required
If installed without an activation code, the software will be fully functional for 15 days.
Read about Product Activation