
Originally Posted by
cesar35
I did several projects in asm. I do not have much practice in picbasic. More
do a very light flashes on facil.em asm.
And my first project in picbasic.que I try fazer.mais not had much success.
You could ajuda.impretada.ficarei me very grateful.
Thank you
OK, Lets get familiar with PBP.
First read this thread
http://www.picbasic.co.uk/forum/showthread.php?t=543
It talks about setting the config bits in your code.
Then read this
http://www.picbasic.co.uk/forum/showthread.php?t=561
Being that you have written in ASM I will assume you have MPASM installed.
And I will also assume you are also using Micro Code Studio to write your PBP code in.
In MCS go to view-Compiler Options and make sure the bos "use MPASM" is checked.
Now the beginning of your code will look something this
Code:
DEFINE OSC 4
@__config _XT_OSC & _WDT_ON & _CP_OFF
Bookmarks