Hi All
Attempting to set up a serial comms unit to control a MP3 player.
But issues with compiling this bit:-
I have an external HS Crystal (4Megs) Just not understanding what needs to be here or not here to make it compile ok.
Do I need the OSCCON
Do I need the Define OSC 4
I know the issue is the red text ????
BR
Andy
Thank you for help
Attempting to set up a serial comms unit to control a MP3 player.
But issues with compiling this bit:-
Code:
DEFINE OSC 4 'Set oscillator in MHz
'OSCCON = $60 '4 Megs Xtal
TRISA=0 'Port A all outputs
TRISB=%00001100 'Make RB3 and RB4 in-puts
'OPTION_REG.7=0 'Enable internal pull-ups
CMCON=7 'No Analogs
Do I need the OSCCON
Do I need the Define OSC 4
I know the issue is the red text ????
BR
Andy
Thank you for help