OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:magnetState
(Results
1 - 3
of
3
) sorted by null
/hardware/bsp/intel/peripheral/libupm/examples/c++/
groveelectromagnet.cxx
55
bool
magnetState
= false;
63
magnetState
= !
magnetState
;
64
if (
magnetState
)
68
cout << "Turning magnet " << ((
magnetState
) ? "on" : "off") << endl;
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
groveelectromagnet.js
34
var
magnetState
= false;
39
magnetState
= !
magnetState
;
40
if (
magnetState
)
44
console.log("Turning magnet " + ((
magnetState
) ? "on" : "off"));
/hardware/bsp/intel/peripheral/libupm/examples/python/
groveelectromagnet.py
49
magnetState
= False
53
magnetState
= not
magnetState
54
if (
magnetState
):
58
print "Turning magnet", ("on" if
magnetState
else "off")
Completed in 50 milliseconds