Code below for 16F737 compiles & runs just fine under PBP 2.46. Compile under 2.50a and everything runs OK *EXCEPT* DEBUG (nothing changes on debug pin).
Running MicroCode Studio v3.0.0.5 & WinPIC v??? (compiled Jun 3 2007). Using MPLAB 7.60.00.00 and MPASM (not PM).
Am I going nuts or is something broken?
' Code:
' System Constants
OSCCON = $F0 ' Tell the PIC
ADCON1 = 7
CMCON = 7
' Defines
DEFINE OSC 8 ' Tell PicBASIC
define DEBUG_REG PORTA
define DEBUG_Bit 1
DEFINE DEBUG_BAUD 9600
DEFINE DEBUG_MODE 1
define PULSIN_MAX 1000
// snip //
' Code start
init:
pause 100 ' let things settle
debug "Start",10,13
Any ideas greatly appreciated.
Phil.
Bookmarks