blueroomelectronics
Well-Known Member
Here's a simple program for the 18F1320.
It's simply here to demostrate the simplicity and readability of BASIC
Now BASIC assumes a lot for you and the compiler makes decisions based on what it thinks you're trying to do.
BASIC is good for getting your feet wet till you're ready to tackle C or ASM.
Remember: almost all early home computers came with BASIC in ROM.
It's simply here to demostrate the simplicity and readability of BASIC
Code:
// Simply turns on an LED PortA.7 (pin 16)
Device = 18F1320
Config OSC = INTIO2, WDT = OFF, LVP = OFF
High (PORTA.7)
End
BASIC is good for getting your feet wet till you're ready to tackle C or ASM.
Remember: almost all early home computers came with BASIC in ROM.
Last edited: