Bases: object
API for the Electromagnet.
ID: electromagnet
Name: Electromagnet
Category: electric
Manufacturer: seeed
Connection: gpio The Electromagnet can hold up to 1 kg (approximately
2.2 lbs)
C++ includes: electromagnet.hpp
-
off
()[source]
void off()
Turns the magnet off
-
on
()[source]
void on()
Turns the magnet on