Straight away things looked a bit odd as the zip file contains a rar file. I've unpacked that into a folder. I've since realised I could have obtained the "rar" directly and saved some messy file unpacking. Alternatively 7zip seems good at handling nested archives.
So far I've tried the hex files for TFT, Touchpanel and Accel
TFT and Touchpanel appear to work. Accel just gave a blank screen.
On recompiling with MikroC 7.5.0 the TFT and Touchpanel demos no longer worked, TFT just displayed green, no owl. Touchpanel got as far as the "calibrate" function but no calculator.
I deleted my recompile and unpacked the libstock file again, and the TFT and Touch demos worked again.
I haven't tried building my own project as the project options currently only show the Mikromedia PIC18F-J version not the PIC18F-K. I believe there's a file I need to import to add the missing profile?
I have just tried downgrading to version 7.0 and I am having some success getting demos to run, however I have a problem with projects as attempting to export the calculator project to another folder left it nonfunctional, however saving the configuration scheme and loading it into the copy appears to have fixed it.
OK so tried Accel_Test, seems like it initialises the wrong controller?
Code: Select all
TFT_Set_Default_Mode();
//TFT_Init_ST7789V_8bit(320, 240);
TFT_Init_ILI9341_8bit(320, 240);
// Initialize I2C communication
The calculator demo still doesn't run when recompiled.