Search found 51 matches
- Fri Sep 02, 2022 5:07 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: BMP280 / BME280 uPython
- Replies: 45
- Views: 464478
Re: BMP280 / BME280 uPython
Rissy, you seek a genius but why are you trying to use 2 mqtt brokers when just one broker can service 1000's of clients? Mqtt client programs connected to just one broker (even one running on your little rpi) can send messages on whatever topic is desired and receive messages on whatever topics the...
- Sun Aug 28, 2022 6:24 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: BMP280 / BME280 uPython
- Replies: 45
- Views: 464478
Re: BMP280 / BME280 uPython
basically because i don't know about the "_" and the "in range" commands. What does "_" do? and when can you randomly just shout out "in range" in the code? It's all of these intricacies which I don't have in my head, which stops me from writing code like this, or understanding other people's code....
- Sun Aug 28, 2022 11:41 am
- Forum: Raspberry Pi microcontroller boards
- Topic: BMP280 / BME280 uPython
- Replies: 45
- Views: 464478
Re: BMP280 / BME280 uPython
Can you take a look and tell me if you think this is correct...(by that i mean work)? It may work, too hard to say without actually running it. Some quick observations are: for your led blinking code consider: def flash_led(num_flashes, on_time, off_time,): for _ in range(num_flashes): led.on() tim...
- Sat Aug 27, 2022 11:32 pm
- Forum: Announcements and News
- Topic: Migration to GitHub Discussions
- Replies: 20
- Views: 205428
Re: Migration to GitHub Discussions
Could you please post a screenshot? Is your browser using the mobile or desktop version? (The "right panel" you mention makes it sound like the desktop version) I think that must be it, I was viewing the normal desktop version on my ipad. I got the the github from the link in the forum, and that li...
- Sat Aug 27, 2022 7:01 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: BMP280 / BME280 uPython
- Replies: 45
- Views: 464478
Re: BMP280 / BME280 uPython
Have a peep at this:Can anyone give me some assistance with correcting this code where I need to to make it work?
https://learn.adafruit.com/working-with ... 2c-devices
- Sat Aug 27, 2022 4:30 pm
- Forum: Announcements and News
- Topic: Migration to GitHub Discussions
- Replies: 20
- Views: 205428
Re: Migration to GitHub Discussions
it looks ok in landscape orientation. It looks better :D . But on my old ipad air somethings not playing right with github. I cannot login, I cannot change from double spacing from single spacing and a circle keeps wiring around. Maybe something to do with the tablet being too old to take the lates...
- Sat Aug 27, 2022 3:44 pm
- Forum: Announcements and News
- Topic: Migration to GitHub Discussions
- Replies: 20
- Views: 205428
Re: Migration to GitHub Discussions
I just had a look at the GitHub Discussions. Probably OK on a PC with a large screen, but the postings bit is on the a panel in the middle of the screen, with equal screen estate being given to a left panel showing the topic sections and a right panel showing some voting stuff. Only a third of the v...
- Sat Aug 27, 2022 3:23 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: led flash 10 times, not 5?
- Replies: 7
- Views: 47814
Re: led flash 10 times, not 5?
Rissy, the code you show flashes the Led 5 times. exactly 5 times. As it happens I was putting the latest micropython on to a new rpi PicoW (V1.19.1) so just incase a bug had crept in as theres no stable release showing as yet I put your code on the board and ran it. 5 nice green flashes. :) Edit: I...
- Thu Aug 25, 2022 12:17 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico W Micro Python MQTT of data to a RP4B
- Replies: 62
- Views: 573387
Re: Pico W Micro Python MQTT of data to a RP4B
Rissy, Although I expect your funny code examples of MQTT_PW_Vars.py, Globals.py and PicoW_Vars.py was just trying to show using global variables to print them out from another program, but your real programs will do much more. Nevertheless, even as you now know your use of global vars for separatel...
- Wed Aug 24, 2022 10:04 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico W Micro Python MQTT of data to a RP4B
- Replies: 62
- Views: 573387
Re: Pico W Micro Python MQTT of data to a RP4B
In Norfolk UK. And please send some rain this way. Where are you?Just out of interest, where in the world are you beetle?