-
IDE anyone of the below Code editor
-
Pymakr Plugin
- Installation Steps
- In case you get any error while adding Pymakr Plugin
- Make sure that your Code editor is on the latest version
- Install Node
- Install
prebuild-install
npm install -g prebuild-install
- For Linux & Unix user
cd ~/.atom/packages/pymakr/node_modules/\@serialport/bindings
- For Windows users
cd %USERPROFILE%/.atom/packages/pymakr/node_modules/\@serialport/bindings
- Run
prebuild-install --runtime electron --target 4.2.7 --tag-prefix @serialport/bindings@ --verbose
-
Pycom Firmware Updater
To connect the temperature sensor to the device you should connect the following:
+
to the3v3
pin-
to the GNDout
to theP23
pin
- switch to wifi network and reconnect
pybytes.set_config('network_preferences', ['wifi'])
pybytes.reconnect()
- Enable Debugging
import pycom
pycom.nvs_set('pybytes_debug', 6)
- Change or Set Lora Region
from network import LoRa
pybytes.update_config('lora', { 'region': LoRa.EU868 })
- Send Data to Pybytes
pybytes.send_signal(SIGNAL_NUMBER, DATA)
- Deep Sleep
pybytes.deepsleep(10000) # 10 sec sleep
sudo chmod 755 FILE_NAME