Welcome to the Jalv2 & Jallib website!
JAL (Just Another Language, version 2) is an open source programming language built for programming PIC microcontrollers. If electronics is your thing, JAL is for you!
Jallib is a set of open source JALv2 libraries to make things work. Download our libraries to see what is available.
Check out our FREE The Tutorial Book for PIC microcontroller how-to's:
We are looking for more libraries and more fun! Please share and contribute!
A common way to address the individual bytes of a word (or larger)
variable is to split it as an array of bytes.
This can be done as follows
var word w
var byte wb at w
You can then refer the two bytes of the word w as wb and wb
If the individual bytes of the array wb and wb need a specific name alias keyword can be used as given below.
alias hibyte is wb
alias lowbyte is wb
This is a custom google search on the following jal related sites and mailing lists.
This website has a very good introduction PICs and JAL available at http://justanotherlanguage.org/content/jallib/tutorials/tutorial_getting...
The original author, Wouter too has a Starting With PIC guide which is a bit dated.
(but where is v1.0 ?...)
I've been working for several months by now on a new Jaluino board, Jaluino Bee. I've designed a first PCB (v1.0), tested it with more or less success and now have ordered (and received) a second batch of PCBs (v2.0). From all i could test it seems to work "out of the box", so now is the time to expose this...
If you made it here, you either have or are thinking about putting some storage device into your project. Of course you may want to use FAT32 or some type of file system if you are using a device such as a SD card or hard disk with a huge amount of storage space. You could read or write directly to your storage device if you wanted wish, so why use a file system such as FAT32? It is an easy way to manage data and to access data via a PC, it is user friendly for building your product and also good for users of your product.
Fat32 can be read by the most popular operating systems. Of course, FAT32 is a Microsoft product used in Windows, but Linux and MAC OS can also read FAT32. Jallib also has Minix V2 file system available.
In a previous tutorial (Serial Port and RS-232 for communication) You probably noticed it is annoying to have to change RealTerm from ASCII to HEX in order to see output of numbers. It is also not easy to view raw HEX data. You will probably want to be able to output decimal numbers to make it easy on us humans. This is where the print and format libraries come in!