I suggest having a look at BoostC for the 16 and 18 series chips and C18 for the 18 series. Both are free but BoostC is limited to 2K program space which is really more than most people ever use.
edit, if 2k is too small, to purchase BoostC is around $80.
There is Great Cow Basic under the GPL license. It will program 10/12/16/18 devices. Does not have all the library's you might expect (mostly math) from a commercial compiler, but since the source code is available, anything is possible.
Yes but i think that my software will be quite big.
Im going to control two steppers both with buttons and automatic. Drive a LCD. Calculate the number of stops for the steppers. And have voltage reference for the two steppes
Yes but i think that my software will be quite big.
Im going to control two steppers both with buttons and automatic. Drive a LCD. Calculate the number of stops for the steppers. And have voltage reference for the two steppes
I'm pretty sure that I could write that within the confines of the (free) BoostC compiler (2K) and the (also free) Swordfish basic compiler (18 series). However, if you go over the limits then they are both relatively cheap to purchase. C18 will be more than adequate if you go the 18 series route.
I code in C too and thought that going back to BASIC would be a step backwards, but the PIC simulator IDE at oshonsoft.com is very good and only costs about £25. Complete simulator and compiler in one, includes serial/USART emulation. After playing with the 30-day trial, I stopped looking for freeware and opened my dusty wallet and have been really pleased.
Then when you run the program, it will ask you what modules do you want to load. Load up xlcd, and it will ask you a bunch of questions, and will generate a header file that correspond to the answers you put for the questions.
Some of the questions is like
what pin do you want for Enable?
8bit or 4bit mode ?
What port for data ?
Ok I got the L2432 LCD panel (parts of some scrap @ work) it has the KS0063/KS0066 or equivalent driver and i dont know whether it will work or if i need to "make" my own driver/library for it. Or if it will work with the library for HD44780 driver