ILI9341_due icon indicating copy to clipboard operation
ILI9341_due copied to clipboard

_spiSettings uninitialized

Open Pablo2048 opened this issue 8 years ago • 6 comments

Hi Marek. Thank You for Your work, but it seems that I found a problem. In SPI transaction mode there is some initialization of _spiSettings missing in begin(...) method.

Pablo2048 avatar Mar 11 '16 10:03 Pablo2048

Are you getting an error or somethings not working?

marekburiak avatar Mar 12 '16 22:03 marekburiak

I'm trying to port Your library to Arduino ESP8266 platform. My TFT is version with touch panel included, so beacuse small I/O pins count on ESP I have to share SPI between TFT and Touch, so I have to use transactions. I'm actually in testing phase so I found out that _spiSettings are not initialized in .begin() - after studying SPI.h from Arduino ESP8266 there is default setting (in object constructor) for _bitOrder LSBFIRST, but ILI9341 need MSBFIRST.

Pablo2048 avatar Mar 13 '16 10:03 Pablo2048

Hi Marek - fantastic work! I too am interested in a ESP8266 version (my new toy of choice is the Digistump Oak, which I hope I'll be working with for quite some time, and using for quite some projects). I have gotten the basic Adafruit library to work but yours looks far more useable and powerful. I would be happy to send you one if you're interested in looking at it. Pablo, if you're reading, have you had any luck?

ppostuma avatar May 24 '16 23:05 ppostuma

Hi ppostuma - well, sort of. I have partially working code, but is way slower than optimized Adafruit variant (AS8).

Pablo2048 avatar May 25 '16 04:05 Pablo2048

I have a few ESP8266 myself and was thinking to port the library for it but unfortunately I have no time for it at the moment (other projects in the way).

marekburiak avatar May 25 '16 06:05 marekburiak

understand! thanks again

ppostuma avatar May 26 '16 00:05 ppostuma