Hi guys,
on Arduino I used the functions "bitSet()" and "bitClear(). Link: https://www.arduino.cc/reference/en/language/functions/bits-and-bytes/bitset/
I have the following data: 0b00000000 I would like to switch a specific bit to 1 or 0. How can I do that with javascript/espruino?
Thank you.
@Crash started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi guys,
on Arduino I used the functions "bitSet()" and "bitClear().
Link: https://www.arduino.cc/reference/en/language/functions/bits-and-bytes/bitset/
I have the following data: 0b00000000
I would like to switch a specific bit to 1 or 0. How can I do that with javascript/espruino?
Thank you.