Proton development board with Picbasic
Hi,
Anyone using one of these with MELABS Picbasic Pro? I've got one but the defaults for LCD etc are different as it's designed for their proton basic.
Does anyone have any code samples for it? I'd like to see a few examples of LCD output, adin etc.
Thanks.
Development boards & Defines
PJ Smith -
I do not have the proton development board, but it is a very easy thing to modify LCD defaults or any other such thing.
All you do is change the DEFINE statements:
e.g.:
Lets say the default for the enable pin of the LCD is PortB.3
and your development board is wired for the enable pin of LCD connected to Port D.4. Simple:
'===Was===:
DEFINE LCD_EREG PORTB
DEFINE LCD_EBIT 3
'===Change to===:
DEFINE LCD_EREG PORTD
DEFINE LCD_EBIT 4
Then simply add your code:
LCDOut $FE,1,"LCD working"
There are many define statement...refrence your PBP manual, Appendix B.
Best Regards;
Carl
www.schellelectronics.com
P.S. - You could also simply throw out your proton development board and purchase my PIC Deelopment Board with bootloader at www.schellelectronics.com ! ;)
It also comes with sample programs