Search found 19 matches

by vahithosan
Tue Jan 17, 2023 9:13 pm
Forum: Drivers for External Components
Topic: HX1230 96x68 Mono LCD - Nokia 5110 killer
Replies: 8
Views: 31160

Re: HX1230 96x68 Mono LCD - Nokia 5110 killer

I have esp32 and nokia 1202 lcd. It uses ste2007 like hx1230.

I couldn't run it. I think I am wrong about esp32 spi configuration. were you able to run it?
by vahithosan
Wed May 04, 2022 7:14 am
Forum: General Discussion and Questions
Topic: Uasyncio gather questions
Replies: 1
Views: 852

Uasyncio gather questions

Hi. I have a problem. At the beginning, I run 2 tasks with gather. async def ana_sayfa_as(r, ayar): pb.press_func(False) pb.release_func(menu,) pb.long_func(gizli_menu,) sb.press_func(seri,) tb.press_func(tek_at,) async def main(): global a1 global t1 t1 = uasyncio.create_task(rotar(r, ayar)) a1 = u...
by vahithosan
Thu Jan 27, 2022 7:28 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio run cancel tasks interrupt
Replies: 3
Views: 7991

Re: uasyncio run cancel tasks interrupt

Sorry. I type wrong. When I press the button, I want to stop the task and start another task. I want to use callback for this. async def main(): global a1 global t1 t1 = uasyncio.create_task(rotar(r)) a1 = uasyncio.create_task(ana_sayfa()) await uasyncio.gather(t1,a1) first ana_sayfa() will start. I...
by vahithosan
Tue Jan 25, 2022 3:41 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio run cancel tasks interrupt
Replies: 3
Views: 7991

uasyncio run cancel tasks interrupt

Hi. I want to create a menu using uasyncio. I want to write a separate function for each submenu. When I press the button, I need to start the other task with the callback function. however, the previous task must be stopped. Here my codes I get errors about cancel. What should I do. MicroPython v1....
by vahithosan
Fri Jul 09, 2021 5:41 pm
Forum: General Discussion and Questions
Topic: Simple Menu
Replies: 4
Views: 2417

Re: Simple Menu

When I use interrupt and interrupt to assign another function, it resets esp32 with machine.disable_irq(). Can you post an example of the code that causes this? i use MicroPython v1.16 on 2021-06-23; ESP32 module with ESP32 Type "help()" for more information. from rotary_irq_esp import RotaryIRQ im...
by vahithosan
Thu Jul 08, 2021 8:14 pm
Forum: General Discussion and Questions
Topic: Simple Menu
Replies: 4
Views: 2417

Simple Menu

Hi. I want to make simple menu with rotary pcd8544 esp32. I tried some but didn't work When I use interrupt and interrupt to assign another function, it resets esp32 with machine.disable_irq(). how can i make a simple menu with submenu from rotary_irq_esp import RotaryIRQ import pcd8544_fb import ti...
by vahithosan
Tue Jun 23, 2020 6:32 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 167
Views: 307336

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

hello, i have put BLACK_F407VE-20170620-v1.9.1-29-g1686346.dfu on my card with dfusedemo with bt0-3.3v it's ok after bt0-gnd , i plug usb and unknown device d2 d3 toogle and after nothing i have not st-link , it's possible with usb ? how to switch to repl mode by usb ? for RPEL mode use usb J4 or r...
by vahithosan
Mon Feb 03, 2020 12:12 pm
Forum: Drivers for External Components
Topic: LCD display [Advise needed]
Replies: 23
Views: 26784

Re: LCD display [Advise needed]

Anyone using st7920? I am looking for 128x64 lcd with big screen and cheap. If you are using, which library you are using.
by vahithosan
Tue Sep 17, 2019 10:57 am
Forum: ESP8266 boards
Topic: ESP8266 + MCP23017 + Rotary Encoder
Replies: 3
Views: 2942

Re: ESP8266 + MCP23017 + Rotary Encoder

I have no more pins on esp8266. I used it for SPI. so I want to run the rotary encoder via mcp23017. I will try EncodeLib modify like this and I will share the results from machine import Pin from machine import Timer class encoder: # Init variables encoder_clk_prev = False i = 0 def __init__(self, ...
by vahithosan
Mon Sep 16, 2019 7:50 pm
Forum: ESP8266 boards
Topic: ESP8266 + MCP23017 + Rotary Encoder
Replies: 3
Views: 2942

ESP8266 + MCP23017 + Rotary Encoder

Hi, I want using rotary encoder over mcp23017 i/o expander. But esp8266 freeze. I use those libraries: Rotary encoder: https://github.com/BramRausch/encoderLib MCP23017: https://github.com/ShrimpingIt/micropython-mcp230xx import mcp import encoderLib io = mcp.MCP23017() io.setup(8,mcp.IN) io.setup(9...