Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,202
» Latest member: aguskussrow
» Forum threads: 411
» Forum posts: 1,967

Full Statistics

Online Users
There are currently 22 online users.
» 0 Member(s) | 21 Guest(s)
Google

Latest Threads
@pump_upp - best crypto p...
Forum: General
Last Post: McDiver
02-01-2023, 08:05 AM
» Replies: 0
» Views: 392
Latest updates
Forum: Announcements and updates
Last Post: faisyl
11-27-2022, 06:32 PM
» Replies: 11
» Views: 9,966
edtech organizations in i...
Forum: Other
Last Post: shraddhamane
05-30-2022, 08:15 AM
» Replies: 0
» Views: 696
INA3221 MicroPython I2C D...
Forum: Hardware
Last Post: M5MPy
09-27-2021, 12:55 PM
» Replies: 6
» Views: 8,882
Power Management
Forum: General
Last Post: Arun47
06-19-2021, 04:19 AM
» Replies: 7
» Views: 100,403
REPL / telnet
Forum: K210, Kendryte RISC-V Dual Core 64bit CPU
Last Post: lypanov
05-31-2021, 01:51 PM
» Replies: 1
» Views: 3,381
Rfcomm Bluetooth examples
Forum: MicroPython
Last Post: dan76
05-12-2021, 04:15 PM
» Replies: 6
» Views: 10,689
ST7789V color display pro...
Forum: Hardware
Last Post: maopucheng
04-15-2021, 11:14 AM
» Replies: 0
» Views: 2,231
TTGO ESP32 with ST7789V d...
Forum: Hardware
Last Post: maopucheng
04-14-2021, 01:31 PM
» Replies: 6
» Views: 8,119
New Font creator online t...
Forum: Announcements and updates
Last Post: LeoLiu
04-14-2021, 07:13 AM
» Replies: 10
» Views: 15,790

 
  @pump_upp - best crypto pumps on telegram !
Posted by: McDiver - 02-01-2023, 08:05 AM - Forum: General - No Replies

https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp

Print this item

  edtech organizations in india
Posted by: shraddhamane - 05-30-2022, 08:15 AM - Forum: Other - No Replies

Which is the best education company in India?

Print this item

Rainbow ST7789V color display problem
Posted by: maopucheng - 04-15-2021, 11:14 AM - Forum: Hardware - No Replies

<p></p>[python]<p>tft.init(tft.ST7789, width=320, height=240, rot=tft.LANDSCAPE, miso=17, mosi=19, clk=18, cs=5, dc=16, rst_pin=23, backl_pin=4, backl_on=1)<br>tft.setwin(40,52,279,186)<br></p><audio controls="controls" style="display: none;" src="http://dict.youdao.com/dictvoice?audio=FF&amp;type=1"></audio><p class="sceditor-nlf"><br>tft.rect(0,0,20,20)<br>tft.rect(221,116,20,20,0xFF0000,0xFF0000)</p>[/python]<p class="sceditor-nlf"><br><br>I want to draw a red rectangle, I write color "0xFF0000", but it is not a red.<br><br>If I&nbsp;write "0x00FFFF", this is red. Why, is it for design?&nbsp; or Did I make a misstake in code?<br><br>Thanks for your help.<br><br><br></p><p class="sceditor-nlf"><br></p><p class="sceditor-nlf"><br></p><p class="sceditor-nlf"><br></p><p class="sceditor-nlf"><br></p><p class="sceditor-nlf"><br></p><audio controls="controls" style="display: none;"></audio><p class="sceditor-nlf"><br></p><audio controls="controls" style="display: none;"></audio><p class="sceditor-nlf"><br></p>

Print this item

  lobo on pycom wipy network issue
Posted by: joblacker@cfl.rr.com - 03-31-2021, 03:56 PM - Forum: Issues - No Replies

<p>I flashed the lobo distro MicroPython_LoBo_esp32_psram_all.zip onto a pycom wipy but I can't initialize the network.</p><p>I tried:&nbsp; &nbsp;wifi = network.WLAN(network.STA_IF)</p><p>but I get error:</p><p><br></p><p>W (2433745) wifi: wifi osi_nvs_open fail ret=4353<br>E (2433745) wifi: wifi_init_in_caller_task 707 ret=4353<br>E (2433745) [modnetwork]: Error initializing WiFi (4353)<br><br></p><p>what am I doing wrong?</p>

Print this item

Bug Problem with GPIO 0 - TTGO T-Display ST 7789V
Posted by: rems02 - 03-17-2021, 02:25 PM - Forum: MicroPython - Replies (1)

<p>

<!--StartFragment--></p><p style="box-sizing: border-box; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; margin-top: 0px !important;">hi,<br style="box-sizing: border-box;">I have a problem with TTGO T-Display ST 7789V</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Button GPIO 0 does not work after presses button (print always 0)<br style="box-sizing: border-box;">Button GPIO 35 it's OK (print 1 after presses button print 0)</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">test code:</p><pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; border-radius: 6px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace"><span style="box-sizing: border-box; font-size: 11.9px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-radius: 6px; border-style: initial; border-color: initial; border-image: initial; line-height: inherit;">[python]<br>from machine import Pin
from time import sleep

button = Pin(0, Pin.IN)

while True:
print(button.value())
sleep(0.1)<br>[/python]
</span></font></pre><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">II have tested with other Micropython and it works.</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">is there a problem ?</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Thanks for your help.</p><!--EndFragment--><p>

[Image: 68747470733a2f2f696d67617a2e737461746963...652e6a7067]<br></p><p></p><p class="sceditor-nlf"><br></p>

Print this item

  tft.compileFont() function
Posted by: Sanjib - 02-22-2021, 04:12 PM - Forum: MicroPython - No Replies

<p>Hello,</p><p>I am a new use to TTGO board with a display and also to MicroPython. I was trying to use custom font and used the online tool mentioned in the forum:</p><p>https://loboris.eu/forum/showthread.php?tid=826<br></p><p><br></p><p>I have generated the .c file and used the tft.compileFont() function to generate the .fon file. As I have used "debug=True", I could see the error as:&nbsp;</p><p><br></p><p>Error opening source file '/_#!#_spiffs/&lt;file_name&gt;.c'</p><p><br></p><p>Is it because I have kept the .c file at the wrong location? Where should I keep it?</p><p><br></p><p><br></p><p><br></p><p><br></p>

Print this item

  MQTT_CLIENT: read error or end of stream
Posted by: formica - 02-18-2021, 04:19 PM - Forum: ESP32 - No Replies

<p>Hi guys, <br>using the mqtt module on pycom w01 I always obtain this error.<br>I'm trying to connect the module to mosquitto on Ubuntu.<br><br>MQTT_CLIENT: read error or end of stream<br><br>Any idea?<br><br></p>

Print this item

  I am looking for a solution for _thread in class object
Posted by: alien1983 - 02-08-2021, 08:25 PM - Forum: MicroPython - Replies (1)

<p>Hi,</p><p>This is an example of
<!--StartFragment-->threading<!--EndFragment-->

for a class...<br></p><p>[python]</p><p># A minimal threading example with an object<br>import threading<br>import time<br><br><br>class MyThread(threading.Thread):<br>&nbsp; &nbsp; def run(self):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Default called function with mythread.start()<br>&nbsp; &nbsp; &nbsp; &nbsp; print("{} started!".format(self.getName()))&nbsp; &nbsp; &nbsp; &nbsp; # "Thread-x started!"<br>&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Pretend to work for a second<br>&nbsp; &nbsp; &nbsp; &nbsp; print("{} finished!".format(self.getName()))&nbsp; &nbsp; &nbsp; # "Thread-x finished!"<br><br>def main():<br>&nbsp; &nbsp; for x in range(4):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Four times...<br>&nbsp; &nbsp; &nbsp; &nbsp; mythread = MyThread(name = "Thread-{}".format(x))&nbsp; # ...Instantiate a thread and pass a unique ID to it<br>&nbsp; &nbsp; &nbsp; &nbsp; mythread.start()&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # ...Start the thread, run method will be invoked<br>&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(.9)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # ...Wait 0.9 seconds before starting another<br><br>if __name__ == '__main__':<br>&nbsp; &nbsp; main()[/python]</p><p><br></p><p>Not work With Lobo Micropython,&nbsp;I am looking for a solution for _thread..</p><p>[python]
<!--StartFragment-->import _thread<br>import time<!--EndFragment-->&nbsp;</p><p>...[/python]</p><p><br></p><p>
<!--StartFragment-->class MyThread(_thread.Thread):&nbsp; ? :|<!--EndFragment-->

<br></p><p><br></p><p><br></p>

Print this item

  LilyGO TTGO T8 5V power?
Posted by: EvilKitty666 - 02-04-2021, 04:22 PM - Forum: Hardware - No Replies

<p>Hi guys,</p><p>i would like to ask you for help.</p><p>I need to power&nbsp;<b>L</b><b>ilygo TTGO T8 V1.7 ESP32 </b>with&nbsp;5V (step down convertor). Is it possible with 5V Pin?&nbsp;</p><p>We just used USB and 5V pin to power display so im not sure about 5V input or output...</p><p>Best version for us is to use step-down convertor 5V to power display and LilyGO at once.</p><p>&nbsp;I have backup setup with another step down convertor to simulate 4,2V battery and then 5V pin to power display again,but its actually shiping and looks stupid in my eyes...</p><p>thanks!</p><p><br></p><p>pinout:</p><p>https://cdn.tindiemedia.com/images/resize/UklVmED7sdKHsvyvZf7-feFSScU=/p/fit-in/1032x688/filters:fill(fff)/i/56359/products/2019-05-25T07%3A58%3A22.171Z-T81.7.jpg?1606306133<br></p><p><br></p><p>schematics:</p><p>https://github.com/LilyGO/TTGO-T8-ESP32/blob/master/t8_v1.7.1.pdf<br></p>

Print this item

  ESP-32 status/Bluetooth
Posted by: avanti - 01-18-2021, 11:35 PM - Forum: General - Replies (1)

<p style="margin: 0px; padding: 0px; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; color: rgb(51, 51, 51); caret-color: rgb(51, 51, 51); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">I have been a user of &nbsp;the&nbsp;Lobo ESP-32 Micropython fork for quite some time and have implemented several significant projects in it with great success. I have worked around the few serious bugs and find that the advantages of this fork to&nbsp;greatly outweigh&nbsp;the disadvantages of working with a semi-dormant fork. I have been a happy user.</p><p style="margin: 0px; padding: 0px; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; color: rgb(51, 51, 51); caret-color: rgb(51, 51, 51); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br></p><p style="margin: 0px; padding: 0px; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; color: rgb(51, 51, 51); caret-color: rgb(51, 51, 51); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">However, I now have an imminent need for Bluetooth support, and so am faced with a decision point. The current (2018) release contains a BT module, but the release notes say that it is experimental and should not be used. So, I have a decision to make. Should I:<br><br>1) Ignore the warning and lack of documentation and attempt to use the existing BT library?<br>2) Find another Micropython BT package and attempt to import it?<br>3) Abandon this port for another fork?<br><br>I hate the thought of #3, since I like the current one a lot and have a lot invested in it. It is my understanding that there is a newer version that is used for the K210 project. <span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;">Is there any way I can use this version in an ESP32-only project?<br></span><br>I realize that a new ESP release has been in the works for a while now, but I have run out of time.<br><br>Has anybody found a practical&nbsp;way to use BT with the current library?<br><br>Any information or advice would be appreciated.<br><br>Thanks for any help.<br><br></p><br><p></p>

Print this item