Due to circumstances beyond my control I find myself with a lot of time on my hands so I thought I would occupy myself by doing some coding.
A friend has been banging on at me to use an arduino, but I found the structure of the code difficult to understand, and up until now PicBasic Pro has covered all the requirements for my projects. But I had a 2.8" SPI TFT that if I could get working would provide the basis of a revision for an old project. So I dug out the uno and searched the net for some example code and library - I found something and it wasn't long before I had a demo program running (lines of text in all sizes, then lines, fills etc). I then stripped out parts of the code that i didn't need and it wasn't long before i had the screen displaying text in various colours that resembled the layout of the existing project. I then repeated this idea of finding a working example (and there are shed loads of them) for DS1307 RTC, and cut and pasted the parts I wanted into the screen code, followed by code for DS18B20's... and in the space of a couple of days and an evening I have the basic code that reads 4 temp sensors and a RTC complete. Often it's been by chance, adding or subtracting various styles of brackets, comma, full stop or semi-colons and testing after each change until it compiles without error, and the code probably isn't as compact or efficient as it could be, but it works and in around 16K.
I have no idea what's behind the two library files that handle the screen, but it's really easy to set up the text using tft.setTextColor(ILI9341_MAGENTA,ILI9341_BLACK) to print magenta text on a black background. It's a shame that PBP hasn't kept up with these sort of developments. I've no idea how powerful the mega328 chip is compared to say an 18F PIC, but I'm sure these ILI9341 based TFT's would be able to run from a PIC micro.
For me I think what's caused PBP to fall behind is the loss of several members that used to actively post on here and develop solutions, either as example code, or include files. Darrel Taylor being at the forefront, but other members such as Steve (mister -e), Alain, and Melanie. I hate to think what would happen if Henrik, Art, Richard, Ken, and Dave moved away... without you guys forming the mainstay of the forum I feel PBP would be long dead.
I appreciate that developing include files etc takes time ( I was involved with forum member Tabsoft in developing the DHT11/22 sensor library so have some idea in what's involved ), and maybe is not able to employ developers to keep pace with things as other compilers have, but its a competitive market place and if you don't keep up people will jump ship and move away to other products.
Bookmarks