@tuftec, as I have not got a reply from Pycom, perhaps it is not possible!
It seems the best (quickest) way to transfer a single file using the PyMakr plugin is to create a new folder and put your file in, then sync the folder to your connected Pycom board.
The new file is added to the Pycom board and the existing files on the Pycom board are left alone
Not ideal, but it works ok...
Otherwise you have to keep changing the sync_folder and sync_file_types in the pymakr.conf file.
@ricardo-m hola Ricardo, estoy intentado conectarme por sigfox en Cali, sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ4) pero no puedo ver el dispositivo en el backend, podrías darme alguna indicación, muchas gracias.
I have been using Pymakr in VSCode for some time with a Lopy4. After updating VSCode today, I lost the Pycom console in VScode. Uninstalling the Pymakr extension, next reinstalling (pymakr 1.0.1) and reloading in VSCode does not help. There is no Pycom terminal anymore in VSCode, although Pymakr 1.0.1 is enabled in VSCode. Issuing a pymakr command like 'Ctrl+Shift+C' results in a response "command 'pymakr.connect' not found". This may be a similar issue as reported by Oka two days ago ('Pymakr VCS Issue on OSX')
After updating VSCode, this is the version that is shown:
So the new VSCode version is only two days old.
The Pycom documentation for the Onewire library now gives the following example on how to read a DS18x20 temperature sensor:
from machine import Pin
from onewire import DS18X20
from onewire import OneWire
# DS18B20 data line connected to pin P10
ow = OneWire(Pin('P10'))
temp = DS18X20(ow)
I would think that the "print(temp.read_temp_async())" statement needs to come AFTER the "temp.start_conversion()" statement, not before. And that is also how it works for me. When I do the conversion after the read, I get impossible temperature values. Or do I get something wrong here? In a loop (as in the above example) it works of course both ways.
Hi I have some trouble by adding tupple with machine.pin_deepsleep_wakeup on my l01 (stable version '1.18.0')
Wake up on deepsleep only work with one pin argument. when I add more it doesn't work.
here's my code, I tried different form but no wakeup with more than one argument.
machine.pin_deepsleep_wakeup(['P13'], machine.WAKEUP_ALL_LOW, False) // this one work
machine.pin_deepsleep_wakeup(['P13', 'P23'], machine.WAKEUP_ALL_LOW, False) // no wakeup on P13 & P23
machine.pin_deepsleep_wakeup(('P13', 'P23',), machine.WAKEUP_ALL_LOW, False) // no wakeup on P13 & P23
by the way it has been already said but machine.wake_reason() doesn't return pin's output.