Search found 3 matches

by Tabsy21
Thu Jul 21, 2022 5:25 pm
Forum: General Discussion and Questions
Topic: urequests and Raspberry Pi Pico W
Replies: 4
Views: 12209

Re: urequests and Raspberry Pi Pico W

I have solved the problem with this line of code:

Code: Select all

response = requests.post("MyTelegramURL")
 response.close()
Thanks anyway for the effort :D
by Tabsy21
Thu Jul 21, 2022 11:17 am
Forum: General Discussion and Questions
Topic: urequests and Raspberry Pi Pico W
Replies: 4
Views: 12209

Re: urequests and Raspberry Pi Pico W

tepalia02 wrote:
Thu Jul 21, 2022 4:06 am
You can try the memory saving tips in python / micropython
I do not know how I can optimize the memory, because the only thing what the code does is to request the URL in a while loop and after every request sleep(3) (to test how many messages I can send without an error)
by Tabsy21
Wed Jul 20, 2022 7:40 pm
Forum: General Discussion and Questions
Topic: urequests and Raspberry Pi Pico W
Replies: 4
Views: 12209

urequests and Raspberry Pi Pico W

Hello, I would like to build a Telegram chatbot on the Raspberry Pi Pico W. This should only be able to send sensor values and not process incoming messages. I know that this Pi is not quite suitable for this, but maybe someone can help me with this problem. To send a message I wrote this: requests....