ok
Let's say that I am going to use the code from 16f628 to blink a led in Porta.1
loop:
High PORTA.1 'Turn on LED
Pause 500 ' Delay for .5 seconds
Low PORTA.1 'Turn off LED
Pause 500 ' Delay for .5 seconds
Goto loop ' Go back to loop and blink LED forever
End
How I will use the internal osc?
In 16f628 i did this:
@ DEVICE pic16f628, INTRC_OSC_NOCLKOUT
Now it did not work.
What else it needs to work?
Nikos




Bookmarks