Search found 33 matches
- Sat Sep 24, 2022 10:33 am
- Forum: Announcements and News
- Topic: Migration to GitHub Discussions
- Replies: 20
- Views: 178011
Re: Migration to GitHub Discussions
I'm not quite sure what you mean sorry... Do you mean adding a "Q&A - First Timers" ? Why wouldn't a first timer just ask in the relevant Q&A category for their questio (e.g. hardware, or using micropython) and get exactly the same answers from the community? But if you can suggest additional categ...
- Fri Sep 23, 2022 4:40 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Telegram Bot / Group for Pi Pico W & ESP8266
- Replies: 0
- Views: 184950
Telegram Bot / Group for Pi Pico W & ESP8266
Good Day All I was looking online for a place to put data from an INA219 a current shunt and power monitor chip, it's found this device https://www.waveshare.com/pico-ups-a.htm .... When I came across the article in German below are the links in German and a Google translate of it, also the Github l...
- Fri Sep 23, 2022 6:34 am
- Forum: Announcements and News
- Topic: Migration to GitHub Discussions
- Replies: 20
- Views: 178011
Re: Migration to GitHub Discussions
Yes, I'd I'd prefer to use the labels, but could add more categories if necessary. One problem is that there are so many ports these days. (My experience here is a bit biased because I just read all threads, and don't have any use/interest in filtering by board, but I understand why that's useful)....
- Thu Sep 22, 2022 7:01 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Correct use of "time.ticks_diff(ticks1, ticks2)"..?
- Replies: 4
- Views: 30058
Re: Correct use of "time.ticks_diff(ticks1, ticks2)"..?
@scruss Thank's U've point me in the right direction, penny finally dropped... Below is the while loop one liner that I'll use as a substitute for time.sleep(2) , I have tinker experiment with it a bit already and I get my 2 seconds regardless of the code above it... Will test some more, but it's lo...
- Wed Sep 21, 2022 4:56 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Correct use of "time.ticks_diff(ticks1, ticks2)"..?
- Replies: 4
- Views: 30058
Re: Correct use of "time.ticks_diff(ticks1, ticks2)"..?
Thanks for the reply Using print('Loop') in the while loop might have not been the best idea, I've tried to simplify the question. What I've been seeing in another piece of code I'm working on is what I might call time creep... If you use time.sleep(2) you will get a two second pause a that point, t...
- Wed Sep 21, 2022 9:36 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Correct use of "time.ticks_diff(ticks1, ticks2)"..?
- Replies: 4
- Views: 30058
Correct use of "time.ticks_diff(ticks1, ticks2)"..?
Good Day All... I've been trying to substitute time.sleep(2) with the code shown below... For the life of me I can not get it to work, what am I doing wrong or not seeing? import time start = time.ticks_ms() while time.ticks_diff(time.ticks_ms(), start) < 2000: print('Loop') print('End Loop') I'm us...
- Wed Sep 14, 2022 12:14 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pi Pico W and ST7789 display problem
- Replies: 3
- Views: 30823
Re: Pi Pico W and ST7789 display problem
These lines ate not valid Python statements. They look more like comments. So add the comment char. Solved... Thank's for the suggestion, I redid the tft_config.py... I'm a dummy, I took the output of cfg_helper.py as a given, the doc was not to clear... This tft_config.py works... :D from machine ...
- Wed Sep 14, 2022 11:39 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Pi Pico W and ST7789 display problem
- Replies: 3
- Views: 30823
Re: Pi Pico W and ST7789 display problem
Hi Roberthh
The tft_config.py is also mentioned in the docs on russhughes github page, he even gives an example and the cfg_helper.py of his generates the same tft_config.py..
- Wed Sep 14, 2022 11:25 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Pi Pico W and ST7789 display problem
- Replies: 3
- Views: 30823
Pi Pico W and ST7789 display problem
Good Day All I've been experimenting with a Waveshare 320x240 with ST7789 driver, I've searched high and low for an answer with no success... :( https://www.waveshare.com/pico-restouch-lcd-2.8.htm I have used the firmware and example and cfg_helper.py from 'russhughes' github https://github.com/russ...
- Thu Dec 23, 2021 9:42 am
- Forum: General Discussion and Questions
- Topic: Help with a Wave Pi Pico LCD 1.14
- Replies: 9
- Views: 32224
Re: Fixed
I've found the problem. The clowns at Waveshare use GP8 for the d/c signal when it is defined as SPI(1) MISO. This means that in your hardware configuration file you must define the SPI bus with miso=None before you instantiate the d/c pin. As luck would have it my config file did it in the opposit...