I'm a little lost :/

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
Atoms
Posts: 2
Joined: Thu Jul 26, 2018 10:28 pm

I'm a little lost :/

Post by Atoms » Thu Jul 26, 2018 10:42 pm

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

jickster
Posts: 629
Joined: Thu Sep 07, 2017 8:57 pm

Re: I'm a little lost :/

Post by jickster » Fri Jul 27, 2018 2:22 pm

Post your code

bitninja
Posts: 165
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: I'm a little lost :/

Post by bitninja » Fri Jul 27, 2018 3:38 pm

You are looking at the WiPy documentation. You need to be looking at the ESP8266 docs. http://docs.micropython.org/en/latest/esp8266/

Atoms
Posts: 2
Joined: Thu Jul 26, 2018 10:28 pm

Re: I'm a little lost :/

Post by Atoms » Fri Jul 27, 2018 11:19 pm

[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!

Post Reply