Search found 28 matches

by Jerremy09
Tue Jan 21, 2020 6:06 pm
Forum: General Discussion and Questions
Topic: Micropython Language for VS Code
Replies: 7
Views: 7984

Re: Micropython Language for VS Code

Hi all, thank you for your post, I will try the "Josverl" and "Braden" ways. Main point was to get to VSCode something which is not going to lint code like "import machine" ... (so micropython internals at all). I do understand to the fact that locally created function stored in another .py file can...
by Jerremy09
Tue Jan 21, 2020 5:44 pm
Forum: General Discussion and Questions
Topic: Micropython Language for VS Code
Replies: 7
Views: 7984

Re: Micropython Language for VS Code

Hi klindber, I use "PyMakr" and I can say that Im very sattisfied with it. It works greate if you want to upload whole project to board (currently I have 62 files and it is uploaded with one click). I use "Lolin D32 Pro V2" and PYMAKR do not have any issues to find it. here is my details of VS Code ...
by Jerremy09
Mon Jan 20, 2020 5:13 pm
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 4251

Re: IQR pin On "Lolin TFT 2.4" with

Hello Roberthh, I tried: 1 )spi = machine.SPI(1, baudrate=2000000, polarity=0, phase=0, miso=machine.Pin(19), mosi=machine.Pin(23), sck=machine.Pin(18)) - same issue 2) spi = machine.SPI(1, baudrate=2000000, polarity=0, phase= 1 , miso=machine.Pin(19), mosi=machine.Pin(23), sck=machine.Pin(18)) - di...
by Jerremy09
Mon Jan 20, 2020 8:03 am
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 4251

Re: IQR pin On "Lolin TFT 2.4" with

Hello Roberthh,

I even tried to add a one line code into "main.py" to display one pixel on display (same color as bacground on address X=1, Y=1), this also didnt helped. I hoped that recuring main.py will trigger "CLK" signal.

Jan
by Jerremy09
Mon Jan 20, 2020 7:29 am
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 4251

Re: IQR pin On "Lolin TFT 2.4" with

Hello Roberthh,

that is right place where I found the issue. IQR pin on Display do not change output voltage, this stay "3.3V" (measured on Voltmetter), only when connect REPL (I think that master stars to send "CLK" signall) then IQR starts work (3.3v state for non-touched and 0V for Touched).
by Jerremy09
Sun Jan 19, 2020 2:19 pm
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 4251

Re: IQR pin On "Lolin TFT 2.4" with

Hello Roberthh, thank you for post , I tried your suggestion, but with same results. I tried to read a bit more about SPI bus in general. I read that communciation should start that Master device starts to send "CLK" signal to bus. During run of boot.py "clk" is sent correctly and display shows ever...
by Jerremy09
Sat Jan 18, 2020 6:14 pm
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 4251

IQR pin On "Lolin TFT 2.4" with

I have "Lolin TFT 2.4" and Lolin D32 Pro 2.0.0, Libraries for TFT "ILI9341" and touch "XPT2046" work fine, I also use TFT connector to connect both devices. I have only 1 issue with IQR pin on TFT display. IQR pin is used on TFT display used as signal which has: 3.3V - When not touched 0V - When tou...
by Jerremy09
Thu Dec 05, 2019 9:04 am
Forum: Programs, Libraries and Tools
Topic: PIN - Interup Handler - return Value
Replies: 3
Views: 2309

Re: PIN - Interup Handler - return Value

Hi Roberthh, thank you for answer. I dont know if I can use it because that variable is already used in boot.py, then reuse in main.py (there cannot be definition just use) so I dont know if I can provide this variable into sub-Function called by IRQ. Nevertheless I think I found solution. I created...
by Jerremy09
Wed Dec 04, 2019 11:47 am
Forum: Programs, Libraries and Tools
Topic: PIN - Interup Handler - return Value
Replies: 3
Views: 2309

PIN - Interup Handler - return Value

Helllo, I would like to ask if this is even possbble. I have Lolin 2.4 TFT display connected to PIN (0) and I use it as Interup handler in the case of touch (XPT2046 modul). Once Micropython receive this interup it runs define Function. In that function I have a code to read a touch coordinates and ...
by Jerremy09
Thu Nov 21, 2019 7:39 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 19660

Re: xpt2046

Hello Roberthh,

many thanks now I receive different values for different touch in differen part of display :-).

Thank you

Jan