Skip to content

Instantly share code, notes, and snippets.

@dakyneko
dakyneko / esp32_haptics_example.cpp
Last active May 2, 2024 06:27
Minimalist haptics with esp32 firmware + python OSC server for VRC
#include <Arduino.h>
#include <WiFi.h>
#include <WiFiUdp.h>
const char* ssid = "SSID";
const char* password = "PASSWORD";
WiFiUDP udp;
bool blink = false;
const uint8_t motors_pins[] = { 0, 1, 2, 3, 4, 5 };