Control the animations with exohand #34
Replies: 1 comment
-
and arduino code #include <SoftwareSerial.h> SoftwareSerial bluetoothSerial(10, 11); // RX, TX pins for HC-05 module const int lcd_rs = 2; // LCD RS pin void setup() { // Set LCD pins as outputs // Initialize the LCD void loop() { // Check if any finger position has changed // If any finger position has changed, send data via Bluetooth and display the animation on the LCD // Store the current finger positions as previous positions for the next loop delay(100); // Adjust the delay for data sending rate void sendBluetoothData() { // Send data via Bluetooth void displayAnimationOnLCD() { // Display finger positions on the first line // Get finger configuration // Display animation name on the second line if (thumb == 0 && index == 0 && middle == 0 && ring == 0 && pinky == 0 && rotate == 0) { void lcdBegin() { void lcdCommand(int value) { void lcdWrite(int value) { digitalWrite(lcd_en, HIGH); // Enable pin high (start write) void lcdClear() { void lcdPrint(int value) { |
Beta Was this translation helpful? Give feedback.
-
`#exohand.py
`
Beta Was this translation helpful? Give feedback.
All reactions