When you compile, does ALLDIGITAL suggest lines to be added to your code?
Robert
When you compile, does ALLDIGITAL suggest lines to be added to your code?
Robert
No, it didn't. Nothing was out of the ordinary as far as I could tell. It didn't before I added the alldigital file to the folder but I did it anyway just in case. I am completely baffled.
See if this will work.
Yes, I forgot the High/Low 0 statements are from the old Basic Stamp days.Code:#CONFIG __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _IOSCFS_4MHZ & _CP_OFF & _PWRTE_OFF & _IOSCFS_4MHZ & _BOR_OFF #ENDCONFIG DEFINE OSC 4 ' keep above your code and registers settings Adcon0 = 0 'disable adc ANSEL = 0 'gpio all digital TRISIO = 0 'all outputs except gpio3 do 'serout2 gpio.5, 396, ["M"] high 0 pause 1000 low 0 pause 1000 loop end
No dice. I have tried yet another PIC to make sure I didn't damage the last two and tried a different programmer in the event that was damaged (1 in a million, I know). My gut is that I am missing something oscillator related but cannot figure out what. Thanks for the look at what I have.
Bookmarks