import env
The env namespace is a compile-time Studio helper. Values are stored in the browser, not in the project database, and are substituted into the flashed Berry script only when the user flashes. You do not need to import env before using env.NAME, although existing scripts that say import env still work.
Quick example
import wifi wifi.connect(env.WIFI_SSID, env.WIFI_PASS)
importenv
Browser-local environment values.
The env namespace is a compile-time Studio helper. Values are stored in the browser, not in the project database, and are substituted into the flashed Berry script only when the user flashes. You do not need to import env before using env.NAME, although existing scripts that say import env still work.
API
0 available