| This is a simple blinky light program in JAL
forever loop pin_b4 = high delay_100ms(5) pin_b4 = low delay_100ms(5) end loop
Though both are easy to use and highly readable, the JAL program is a little more self explanatory in my opinion, and the compiler is free. Being a compiled language, JAL code will run at the full speed of your chip. JAL is free and the pic chips are very cheap. You can get a small 8 pin chip for under a dollar and the 16f88 is about $2.
If you would like to get started with JAL check the getting started with JAL page for some quick tips and links.
| | And here it is in basic
Start: HIGH 15 PAUSE 500 LOW 15 PAUSE 500 GOTO Start
The most popular microcontroller using the basic language is the basic stamp. The basic stamp is a PIC (or Scenix SX) loaded with firmware. It costs $25 and up. Since it is an interpreter, the basic stamp runs somewhat slower and has less space left for programs.
| |