Skip to content

Repository files navigation

HoverBike

Firmware for ESP32 E-bike controller

HallSensor.h

Usage for the HallSensor library:

#include "HallSensor.h"

HallSensor sensor = HallSensor(15); // Pin 15

void callback() {
  sensor.update();
}

void setup() {
  attachInterrupt(sensor.getPin(), callback, FALLING);
  sensor.getRPM();
}

About

ESP32 E-Bike controller

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages