Search found 12 matches

by mahnonsaprei
Mon Oct 15, 2018 5:42 pm
Forum: MicroPython pyboard
Topic: Newbie Led sequential blink
Replies: 5
Views: 3164

Re: Newbie Led sequential blink

Ok, i understand, now i'm looking to buy a book ;)
Thanks for all
by mahnonsaprei
Mon Oct 15, 2018 11:41 am
Forum: MicroPython pyboard
Topic: Newbie Led sequential blink
Replies: 5
Views: 3164

Re: Newbie Led sequential blink

In this script, the leds starting when i plug the usb in pyboard when hold the button the leds stop and starting when i realesed. I would when i pressed start and when i pressed agail stopped.
by mahnonsaprei
Mon Oct 15, 2018 11:37 am
Forum: MicroPython pyboard
Topic: Newbie Led sequential blink
Replies: 5
Views: 3164

Re: Newbie Led sequential blink

First, Think you for your support. I have a resistor 10k connect to a button. But i don t understand how, when i press the button, the leds blink on sequentially, and then, when i press the button again the leds stop. I don t know how i store in a variable the state of button, 1 or 0. Another questi...
by mahnonsaprei
Sun Oct 14, 2018 12:01 pm
Forum: MicroPython pyboard
Topic: Newbie Led sequential blink
Replies: 5
Views: 3164

Newbie Led sequential blink

Hi at all, my name's Marcello from italy, i'm looking for example hot to blink sequential led with my pyboard. This is my code but i don' t understand how. I would like whhen i press the button sled's start blink in sequential an then when i press again led's blink off. Thanks for your support! # ma...
by mahnonsaprei
Wed Oct 04, 2017 6:26 am
Forum: ESP8266 boards
Topic: Prtg and json temperature sensor
Replies: 4
Views: 3718

Re: Prtg and json temperature sensor

I'm out for job. I'll reply html inspection when i go to back to home. I checked html few days ago with chrome and i didn't found any trouble (for my knowledge). Maybe the problem could be when mycropython generate a response with he's web server? I don't know. Thank you for all your support. You're...
by mahnonsaprei
Mon Oct 02, 2017 2:35 pm
Forum: ESP8266 boards
Topic: Prtg and json temperature sensor
Replies: 4
Views: 3718

Re: Prtg and json temperature sensor

The JSON string is indeed correct (see below) so as far as I can see the fault is either in the format of the HTML page or in the way the client side software is extracting the JSON string from the HTML and interpreting it. One approach might be to send an absolute minimum JSON string and see if yo...
by mahnonsaprei
Sun Oct 01, 2017 11:28 am
Forum: ESP8266 boards
Topic: Prtg and json temperature sensor
Replies: 4
Views: 3718

Prtg and json temperature sensor

Hi at all, i'm studying this language and i'm going crazy to export my temperature sensor in json, i have a prtg server and i'd like to share sensors data with this program: Below a part of code: while True: cl, addr = s.accept() print ('Got connection from', addr) cl_file = cl.makefile('rwb', 0) wh...
by mahnonsaprei
Wed Sep 13, 2017 10:05 pm
Forum: General Discussion and Questions
Topic: Json class dict store in variables
Replies: 11
Views: 7687

Re: Json class dict store in variables

Thank you for all of you support, i think that is too hard to deploy for my grade of knowledge.

Best regards
by mahnonsaprei
Wed Sep 13, 2017 10:16 am
Forum: General Discussion and Questions
Topic: Json class dict store in variables
Replies: 11
Views: 7687

Re: Json class dict store in variables

Anothe question (if possible). I want to show cloud image on oled if are rainy days or sunny days ecc...
Can i get the image from json and convert in xbm format to show in SSD1306 ?

Sorry but i'm very noob in python.

Thank you so much for all your support.

Marcello
by mahnonsaprei
Tue Sep 12, 2017 2:44 pm
Forum: General Discussion and Questions
Topic: Json class dict store in variables
Replies: 11
Views: 7687

Re: Json class dict store in variables

Thank you for all your support. I try and it's worked!!!