Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Support for ESP32's hall sensor #54

Closed
fabaff opened this issue Jun 2, 2018 · 1 comment
Closed

Support for ESP32's hall sensor #54

fabaff opened this issue Jun 2, 2018 · 1 comment

Comments

@fabaff
Copy link
Member

fabaff commented Jun 2, 2018

The ESP32 has a built-in hall sensor. It's possible to use hallRead() in the Arduino IDE.

void loop() {
  int hall = 0;
  hall = hallRead();
  Serial.println(hall); 
	delay(3000);
}

I guess that it would only be useful for people who don't have any real sensors around to play with an actual sensor value beside using ADC pin and touch them 😉 .

@OttoWinter
Copy link
Member

@esphome esphome locked and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants