Search found 19 matches

by giants
Fri Jun 28, 2019 1:30 pm
Forum: Programs, Libraries and Tools
Topic: Became a good pyhton programmer
Replies: 4
Views: 361

Re: Became a good pyhton programmer

esempio.jpg
esempio.jpg (18.12 KiB) Viewed 273 times
by giants
Fri Jun 28, 2019 1:16 pm
Forum: Programs, Libraries and Tools
Topic: Became a good pyhton programmer
Replies: 4
Views: 361

Re: Became a good pyhton programmer

´┐╝First thank you for replay to me, and sorry because english is not my first language. This is what i mean in my first post

Image


thanks for the book
by giants
Thu Jun 27, 2019 5:14 pm
Forum: Programs, Libraries and Tools
Topic: Became a good pyhton programmer
Replies: 4
Views: 361

Became a good pyhton programmer

Hi there like i wrote int the subject, how became a good pyhton programmer ? I know the best is program program program , but many time i have some doubt about resolve a problem for example: i send a dato from ESP8266 to i2c sensor i need the check one register and if i receive the right data i can ...
by giants
Thu Jun 27, 2019 6:26 am
Forum: Programs, Libraries and Tools
Topic: I2C ESP8266
Replies: 1
Views: 191

Re: I2C ESP8266

Sorry guys
never mind it was my mistake

Tank you
Sergio
by giants
Tue Jun 25, 2019 2:10 pm
Forum: Programs, Libraries and Tools
Topic: I2C ESP8266
Replies: 1
Views: 191

I2C ESP8266

Hi there , I send data from I2CBus to my sensor RFD77402 and i got this problem. I send the value 0x91 at the address 0x04 (Cmd_R) . After i try to read the same address for see if i wrote the correct number and this i what i received. 0x11 0x11 OK self.i2c.writeto_mem(Add,Cmd_R,bytearray([0x91])) t...
by giants
Wed Jun 19, 2019 12:46 pm
Forum: Programs, Libraries and Tools
Topic: Call method and passed as a parameter
Replies: 18
Views: 674

Re: Call method and passed as a parameter

Thank you. I think mabye is good for me start to "play" with python for have more confidence and second step ESP or other boards.

Have a good day
Sergio
by giants
Wed Jun 19, 2019 10:29 am
Forum: Programs, Libraries and Tools
Topic: Call method and passed as a parameter
Replies: 18
Views: 674

Re: Call method and passed as a parameter

Hi
finally work , be honest with you i change side and i download the new firmware for the ESP8266.
Thank you for your patience. For sure i need your help in the future :D :D :D :D

Sergio
by giants
Mon Jun 17, 2019 5:52 pm
Forum: Programs, Libraries and Tools
Topic: Call method and passed as a parameter
Replies: 18
Views: 674

Re: Call method and passed as a parameter

Code: Select all

from machine import Pin, I2C
import RFD77402

from time import sleep


dist = rfd77 (I2C(-1, scl=Pin(5), sda=Pin(4), freq=400000))
dist.scan()
that is what i wrote in main.py.

and this is the board

Image
by giants
Mon Jun 17, 2019 6:10 am
Forum: Programs, Libraries and Tools
Topic: Call method and passed as a parameter
Replies: 18
Views: 674

Re: Call method and passed as a parameter

Please forgive me i wrote in your same way but still doesn't work :cry: :cry: :cry: same error download ok exec(open('main.py').read(),globals()) [76] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<string>", line 15, in <module> AttributeError: 'rfd77' object has no at...