![]() |
Forum Index : Microcontroller and PC projects : ili9341 touch
![]() ![]() |
|||||
Author | Message | ||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
Happy days. Thanks for helping a newbie, It's much appreciated. |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
Where is any info for using sd card with ili9341 please? I mean the sd card slot on the ili9341. Edited 2022-07-11 09:42 by stanleyella |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
What sort of work for ili9341 please as it's cheap and so is rpi pico so a better solution than a nextion display which I have and the editor is bother. mmbasic seems to have many graphics like nextion but programmable directly. Early days, lots to learn. The idea was sprite data in tables if mmbasic has read tables or it maybe read data. It's interesting. |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2642 |
"Where is any info for using sd card with ili9341 please? I mean the sd card slot on the ili9341" PicoMite User Manual V 5.07.04 Page 37 "Connecting a SD Card SD cards use the SPI protocol for communications and this needs to be specifically configured before they can be used. First the “system” SPI port needs to be configured. This is a port that will be used for system use (SD Card, LCD display and the touch controller on a LCD panel). There are a number of ports and pins that can be used (see the section PicoMite Hardware) but this example uses SPI on pins GP18, GP19 and GP16 for Clock, MOSI and MISO. OPTION SYSTEM SPI GP18, GP19, GP16 Then MMBasic must be told that there is an SD card attached and what pin is used for the Chip Select signal: OPTION SDCARD GP22" Using the above example SD_CS - GP22 SD_MOSI - GP19 - in parallel with display and touch SD_MISO - GP16 - ditto SD_SCK - GP18 - ditto |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
Thank you phil99. I wired it up as in the user manual and used the define gp but touch did not work until I rewired as per a previous suggestion. maybe the manual is wrong for setting up ili9341. Display and touch are now working very nice. I'll check out your info. cheers. |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
|
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
MMbasic is new to me as is the rpi pico but it seems to have a history before the rpi pico. It can be programmed with thonny with a rpi but that's python. Pity it can't be programmed with freebasic which is compiled like rpi can. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
MMBasic was never intended to be anything but an interpreter. It's pretty good at what it does. :) Of course, if you feel like writing a compiler for it.... ;) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
What do you have in mind that won't run on a Picomite with interpreted MMBasic (seeing it can run at an overclocked OPTION CPUSPEED 378000)? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
What do you have in mind that won't run on a Picomite with interpreted MMBasic (seeing it can run at an overclocked OPTION CPUSPEED 378000)? ~ PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Observation: MMBasic includes at least ~~three~~ TWO structures which I believe in the general case are "uncompilable" for the usual expectation of compile: ~~CALL~~, EVAL and EXECUTE. Similarly it is my understanding that the ABC compiler for BBC Basic will not compile its EVAL() function. EDIT: Correction, on reflection I think CALL is probably compilable by including a function/subroutine symbol table in the compiled form. Best wishes, Tom Edited 2022-07-11 22:16 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
As it's new to me I should not have mentioned interpreted basic. I'm not going to code another oscilloscope using a to d but if I did I wonder how fast it would be. I used picaxe basic which is interpreted then found great cow basic which is a compiler. What a difference in speed. Here we have a fast ucontrlr and many mmbasic functions are compiled so I think it will be as fast as 8 bit pics or avr, or faster. Early days for me. The bbc micro was too expensive for me at the time so used spectrum but I had a compiler for it. I did 6502 and z80 assembler but it's so tedious and error prone. I guess most coders went on to c+ but I never got past basic. Lots to learn about mmbasic. |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
The rpi pico is not a rpi. If not for mmbasic I wouldn't have bought one with only c+ or python to use it. I learnt about it from https://www.youtube.com/watch?v=Cxmjy1nz6MM&t=603s |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
I got the 4 wires to the ili9341 sd card reversed but now if I type files it reads a sd card. Just got to figure how it's used. ![]() |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
I got the 4 wires to the ili9341 sd card reversed but now if I type files it reads a sd card. Just got to figure how it's used. ![]() |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
sorry i posted twice. This is my first use of the ili9341 sd card slot. I thought it was just for the ili but seems it is a general sd card for programs, anything. Amazed. This is looking like a nice dev board. works well with ili. |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |