What classes have been implemented and where is the documentation?
-
I've tried to run things that were already working on WiPy but have failed at the first hurdle. e.g. the machine library contains Pin class but doesn't appear to contain the Timer class. I guess I was expecting this to be like a WiPy (for which there is reference documentation on micropython.org) with extras, but if this is not the case then where should we look to find out what is implemented and hence how to use it?
Detail:
from machine import Pin
from machine import Timer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name Timer -
and no ADC class in machine? ;---(
-
Please have a look at the firmware roadmap published on kickstarter:
-
@patrick Thanks Patrick - does that apply to the WiPy 2.0 as well then?
Jim
-
@jgmdavies Sorry, that I do not know for sure.
-
@jgmdavies Most likely most of it does; the main difference between the WiPy 2 and the LoPy is the presence of the LoRa module. Thus anything not related to that will probably be the same.
-
Thanks. I'm having to do a fair bit of guesswork, as there are more statements about the LoPy than the poor 'old' WiPy 2.0 (so far)!
Jim
-
This is really starting to get ridiculous with PyCom ... deploying a much awaiting firmware update with ABP and then not providing any kind of documentation updates
To help my fellow coders out, i figured out some items:
lora = LoRa(mode=LoRa.LORAWAN, sf=7, tx_power=14)
lora.BW_125KHZ
lora.CODING_4_5Now what the ABP auth tuple should be i haven't figured out. But note again that PyCom did not even fix the TTN OTAA issues
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login