Page 1 of 1

I'm a little lost :/

Posted: Thu Jul 26, 2018 10:42 pm
by Atoms
Good evening friend,

First i want to make something clear, im not bitching at all here, im just in need of some guidance! :)

Im very new to the world of micro controllers but i do have a good background in IT with 'a little' coding skills. I'm currently running a NodeMcu with micropython 1.9.4 and having some problem.

Ex: im attempting to make a very simple script where the chip in connecting to a wifi and printing a msg, nothing crazy here. But when i go and take a look at the example provided (http://docs.micropython.org/en/latest/w ... /wlan.html) Its simply all wrong. I get msg like "wlan object has no attribute mode" or "function object has no attribute STA". Then i look at another tutorial from an outside source that was posted about a year ago (https://medium.com/@JockDaRock/micropyt ... 29076ee330) and its working perfectly.

So im obviously missing something here where i get a huge disconnect between the official documentation and other sources.

thanks for your help!

-James

Re: I'm a little lost :/

Posted: Fri Jul 27, 2018 2:22 pm
by jickster
Post your code

Re: I'm a little lost :/

Posted: Fri Jul 27, 2018 3:38 pm
by bitninja
You are looking at the WiPy documentation. You need to be looking at the ESP8266 docs. http://docs.micropython.org/en/latest/esp8266/

Re: I'm a little lost :/

Posted: Fri Jul 27, 2018 11:19 pm
by Atoms
[quote=bitninja post_id=28910 time=1532705910 user_id=2034]
You are looking at the WiPy documentation. You need to be looking at the ESP8266 docs. [url]http://docs.micropython.org/en/latest/esp8266/[/url]
[/quote]

You are absolutely right. Wait to embarrass my self on my first post!

Thanks!