e_stop()

Emergency locks (E-stops) the Farmduino microcontroller, preventing motor and peripheral usage, and resetting peripheral pins to OFF.

Features that do not rely on the microcontroller, such as sending messages and taking photos, are still available while emergency locked.

# Lock (E-stop) the device:
fb.e_stop()

unlock()

Unlocks a locked (E-stopped) device.

# Unlock the device:
fb.unlock()

What’s next?