- IMG_20220225_203357.jpg (95.29 KiB) Viewed 2945 times
ST7735
-
- Valued Contributor
- Posts: 991
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 106 times
- Been thanked: 517 times
-
- Valued Contributor
- Posts: 991
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 106 times
- Been thanked: 517 times
Re: ST7735
You'll need to set the clock speed etc in program options... Whatever it runs at (19MHz??) - it will affect the delays
Looking at the CAL_SPI TransactionWriter code - it just call Master_byte multiple times - so I can't see why the transaction version doesn't work - but tried it again and it doesn't
Sorted - It wasn't working with transactions because the buffer in Initialise was too small (I'd initially left out the gamma adjustments which needed 16 bytes...)
Phew
Looking at the CAL_SPI TransactionWriter code - it just call Master_byte multiple times - so I can't see why the transaction version doesn't work - but tried it again and it doesn't
Sorted - It wasn't working with transactions because the buffer in Initialise was too small (I'd initially left out the gamma adjustments which needed 16 bytes...)
Phew
Re: ST7735
Is there an ILI9163 display available anywhere. This is still the best option at the moment as its the only one which does anything for me. When I search all i can find is the same display from different sources which state st7735/ILI9163 which are clearly not the same ( or are they as slow as each other)
N
N
-
- Valued Contributor
- Posts: 991
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 106 times
- Been thanked: 517 times
Re: ST7735
Just trying to get going with a PIC18F27J13 - but I can't compile for it:
#pragma config XINST = OFF - seems one possibility - but where to add ?
Martin
Anyone any ideas on this?16405: (1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
#pragma config XINST = OFF - seems one possibility - but where to add ?
Martin
Re: ST7735
NP
for info, Ive added a thermistor into my circuit and an extra line to display the temperature and now the screen takes 12 seconds to update the data versus the previous 6 seconds - still using the ili9163 component. Is this problem more pic related?
for info, Ive added a thermistor into my circuit and an extra line to display the temperature and now the screen takes 12 seconds to update the data versus the previous 6 seconds - still using the ili9163 component. Is this problem more pic related?
-
- Valued Contributor
- Posts: 991
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 106 times
- Been thanked: 517 times
Re: ST7735
Seems - very slow... Can you run a 1s flasher correctly?
I've got a LPLC PIc18 board from a Kickstarter (back in 2014!) - and can't find any docs on it (pinouts etc) - so it is going to take a bit of play to get it working.. So far - I can program it and have a 1Hz flasher running -but seems to be using a 4MHz clock (should be 48MHz) - so I've a way to go yet...
I've got a LPLC PIc18 board from a Kickstarter (back in 2014!) - and can't find any docs on it (pinouts etc) - so it is going to take a bit of play to get it working.. So far - I can program it and have a 1Hz flasher running -but seems to be using a 4MHz clock (should be 48MHz) - so I've a way to go yet...
Re: ST7735
So I stuck a led in and a 5 second flash in 3 different locations -1 at the very start of the program, one immediately after initialising the display and one in the main loop to see if I could tell where the issue lay.
At 40mhz the led is on full time so i changed to 1mhz and the first stage flashes at 1 second (5 times). The next stage takes a few seconds to start flashing so the initialisation is slow. It then flashes for 1 second (5 times). The next stage in the main loop flashes 5 times at 1 second but the display update remains the same (plus the delays)
At 40mhz the led is on full time so i changed to 1mhz and the first stage flashes at 1 second (5 times). The next stage takes a few seconds to start flashing so the initialisation is slow. It then flashes for 1 second (5 times). The next stage in the main loop flashes 5 times at 1 second but the display update remains the same (plus the delays)