yes it does oscillate
when I put thisline:
@ DEVICE PIC16F876A , HS_OSC , WDT_OFF , PWRT_ON , BOD_ON , LVP_OFF , PROTECT_OFF
and not:
DEFINE OSC 20
yes it does oscillate
when I put thisline:
@ DEVICE PIC16F876A , HS_OSC , WDT_OFF , PWRT_ON , BOD_ON , LVP_OFF , PROTECT_OFF
and not:
DEFINE OSC 20
led on RC3,.. do not work
@ DEVICE PIC16F876A , HS_OSC , WDT_OFF , PWRT_ON , BOD_ON , LVP_OFF , PROTECT_OFF
'HS 20mhz, watchdog off, powerup timer on, mclr external, brown out detect on, low volt program off , code protect off
INCLUDE "modedefs.bas"
DEFINE LCD_DREG PORTC ' Set LCD Data port
DEFINE LCD_DBIT 4 ' Set starting Data bit (0 or 4) if 4-bit bus
DEFINE LCD_RSREG PORTB ' Set LCD Register Select port
DEFINE LCD_RSBIT 1 ' Set LCD Register Select bit
DEFINE LCD_EREG PORTB ' Set LCD Enable port
DEFINE LCD_EBIT 0 ' Set LCD Enable bit
DEFINE LCD_BITS 4 ' Set LCD bus size (4 or 8 bits)
DEFINE LCD_LINES 2 ' Set number of lines on LCD
DEFINE LCD_COMMANDUS 2500
DEFINE LCD_DATAUS 250
DEFINE CHAR_PACING 2000
TRISC =0
Pause 1000 ' Wait 1 second
loop:
lcdout $FE,1, "Number: ", dec 55
pause 100
portc.3=0
portc.3=1
pause 300
portc.3=0
goto loop
end
even this do not work...
compiles and everything, but no action
@ DEVICE PIC16F876A , HS_OSC , WDT_OFF , PWRT_ON , BOD_ON , LVP_OFF , PROTECT_OFF
'HS 20mhz, watchdog off, powerup timer on, mclr external, brown out detect on, low volt program off , code protect off
DEFINE OSC 20
INCLUDE "modedefs.bas"
TRISC =0
loop:
portc.3=1 'Blink led
pause 300
portC.3=0
pause 300
goto loop
end
Last edited by lerameur; - 7th January 2007 at 02:48.
ok TRied the easy Prog Programmer,
http://www.embedinc.com/easyprog/index.htm
does not work more, same thing, I meam .. nothing is happening...
Last edited by lerameur; - 7th January 2007 at 04:48.
Bookmarks