Author |
Message |
Topic: 2.8inch 65K FullColorLCD 240x320dot [ILI9341] |
AlanGHosler
Replies: 38
Views: 55348
|
Forum: Share your working BASCOM-AVR code here Posted: Mon Mar 20, 2023 8:20 pm Subject: port selections |
Yesterday I posted a note regarding my use of a ATMega2560 with the O-Family ILI9341 LCD library.
I used the following ports which was successful
Config Graphlcd = Color , Cs1 = Porta.0 , A0 = P ... |
Topic: WizFi360, Translational emails, O-Family ILI9341 Library |
AlanGHosler
Replies: 0
Views: 7998
|
Forum: Share your working BASCOM-AVR code here Posted: Mon Mar 20, 2023 3:01 am Subject: WizFi360, Translational emails, O-Family ILI9341 Library |
On April 15, 2022 I posted a program that uses a WizFi360 WiFi module to send translational emails through an LTE router to the smtp provider smtp2go. Smtp2go then sends messages to my email account. ... |
Topic: 2.8inch 65K FullColorLCD 240x320dot [ILI9341] |
AlanGHosler
Replies: 38
Views: 55348
|
Forum: Share your working BASCOM-AVR code here Posted: Tue Feb 21, 2023 2:27 am Subject: Odd |
Yes, that works for me also. Thank you.
I can't imagine how you came across that solution.
I will now attach my logic analyzer and see how that wave form looks. I will try to send you before and ... |
Topic: 2.8inch 65K FullColorLCD 240x320dot [ILI9341] |
AlanGHosler
Replies: 38
Views: 55348
|
Forum: Share your working BASCOM-AVR code here Posted: Mon Feb 20, 2023 4:07 pm Subject: Using updated library |
I did try the updated library. The line functions still work okay but the data is still a display of all red.
I also tried reducing the clock speed by 8 but that had no affect.
The ILI9341 is po ... |
Topic: 2.8inch 65K FullColorLCD 240x320dot [ILI9341] |
AlanGHosler
Replies: 38
Views: 55348
|
Forum: Share your working BASCOM-AVR code here Posted: Sun Feb 19, 2023 10:00 pm Subject: Using the ILI9341 Library with a Atmega2560 |
Thankyou for your previous help with using your library with a ATmega168. That project is now working well.
I am now been having trouble using an ATmega2560. I have worked on this for a several day ... |
Topic: Using the ILI9341 with an ATmega2560 |
AlanGHosler
Replies: 0
Views: 7677
|
Forum: Share your working BASCOM-AVR code here Posted: Sun Feb 19, 2023 8:03 pm Subject: Using the ILI9341 with an ATmega2560 |
My mistake, I intended this to be a reply to O'Family's posting on a ILI9341 library.
I have now posted it in the proper place, so if someone of authority would delete it here I would appreciate it ... |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Mon Jan 09, 2023 12:28 am Subject: Ports |
I have the RS wired to the Atmega.
My circuit is
SDA to PD2
SCL to PD4
CS to PD3
RS to PC4
DC to PD5
SDI to PD6
SCK to PD7
I notice that my screen clears as it should in response to Cls ... |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Sun Jan 08, 2023 5:30 am Subject: two questions |
Do you now have the MCS I2C slave library? If not, how did you get it to compile/
What ports did you use for SDA and SCL? |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Sun Jan 08, 2023 3:08 am Subject: Test Program |
Note in the attached test program I use:
SDA D.2
SCL D.4 because I thought that what "Config I2SLAVE" in Help menu indicated I should use for an ATmega168. However, Mark said I needed to stay with ... |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Sat Jan 07, 2023 2:15 am Subject: Alternate Approach |
Thank you.
I do have a hardware-change work around for this problem; that is to use an I2C EEPROM, like a AT24C256, as an interface between the two devices. That will put two masters on the same I ... |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Fri Jan 06, 2023 4:46 pm Subject: Pin assignments |
I don't share the pins. I use d.2 for sda, d.4 for scl and c.4 for ILI9341 *RS
I did that because in Help under "Config I2Islave" it states that for the ATmega168 scl is d.4 and sda is d.2. I assu ... |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Fri Jan 06, 2023 3:26 am Subject: Stack sizes |
I tried
$hwstack = 400
$swstack = 400
$framesize = 100
and that didn't help |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Thu Jan 05, 2023 11:21 pm Subject: glcd library |
That has been my feeling.
It is not a run time error but the mere compiling of the of the two libraries is giving me a problem. |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Thu Jan 05, 2023 9:50 pm Subject: Changes |
Thanks Mark
I now have Config Twislave = &H70 , Btr = 1 , Bitrate = 100000
I have removed "Enable Interrupts" In my trouble shooting I am doing every thing I can to prevent the slave softwar ... |
Topic: TFT ILI9341 and I2C slave Library Conflict |
AlanGHosler
Replies: 23
Views: 3418
|
Forum: BASCOM-AVR Posted: Thu Jan 05, 2023 7:17 pm Subject: Small File |
Attached is a small test file. For some reason the failure mode has changed has changed. Rather than get a colorful display I get a white screen.
When I rem out the "Config Twislave ...." statem ... |
|