Bruce give me a short explanation of it before i wrote those lovely lines
http://www.picbasic.co.uk/forum/show...ruce+stopwatch
There's a few explanation in the MPLAB help-file too.
Bruce give me a short explanation of it before i wrote those lovely lines
http://www.picbasic.co.uk/forum/show...ruce+stopwatch
There's a few explanation in the MPLAB help-file too.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Nice google
http://www.sparkfun.com/tutorial/ser...al-2-mplab.htm
And of course the MPLAB quick start guide
http://ww1.microchip.com/downloads/e...Doc/51281d.pdf
HTH
EDIT: Oups sorry Luciano![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Ah Ive almost got it now. I downloaded MPLAB IDE v7.22 and loaded up the .asm file that picbasic pro compiled. I started the stopwatch and ran the program with MPLAB SIM as the tool but it just ends up saying "Time (mSec) 3.276800". How can I use it to measure the time between two points in my program?
The link below is about PAL and the main power frequency is 50 Hz.
http://www.rickard.gunee.com/project.../pic/howto.php
I based my code on the ASM example given in that link. Since both PAL and NTSC use the same signal structure it should work on my TV. I dont have a vertical synch inserted so it just repeats the same thing (synch, pause, gray, white, gray) over and over again.
I followed the Spark Fun MPLAB Stopwatch tutorial and I understand that now but I can not get it to work with my program. I have started a new project and imported the .asm file created by picbasic pro but when I click build it gives me tons of errors. Shouldnt the .asm file be correct?
You have to download the PBP MPLAB plugin
http://www.microengineeringlabs.com/support/mplab.htm
Then you don't need to use the asm file. Start a new project with the wizard, choose PBP as toolsuite, and set your breakpoint directly in your PBP code lines. That's it![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks