Hello I'm trying to use Arduino Nano 33 BLE Sense REV2 to make Smart Glasses and I can't use a breadboard so can I use just a GND pin and SW pin?
Thanks,
zm476
Hello I'm trying to use Arduino Nano 33 BLE Sense REV2 to make Smart Glasses and I can't use a breadboard so can I use just a GND pin and SW pin?
Thanks,
zm476
The SW connections on a rotary encoder can be used like any other switch.
Yes but I dson't have any other switch and will it work without the 5v pin
Set the input pin that the SW terminal to pinMode INPUT_PULLUP. Connect the com termial to ground. There is then no need for 5V to the encoder.
Switch pin will read HIGH when not pressed and LOW when pressed.
Okay thanks
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.