Comments (1)
I was able to compile and use this for esp8266 by modifying the following line of code in CapacitiveSensor.cpp. The issue here is that abs() function is taking unsigned long as arguments which doesn't make sense.
unsigned long diff = (total > leastTotal) ? total - leastTotal : leastTotal - total;
if ( (millis() - lastCal > CS_AutocaL_Millis) && diff < (int)(.10 * (float)leastTotal) ) {
from capacitivesensor.
Related Issues (20)
- compile error with RF-Duino HOT 1
- Wemos D1 mini (esp-8266) - Error -2 HOT 5
- Analog pin affecting capacitive sensor values HOT 4
- Library and T=RC formula HOT 1
- Error -2 when using the ESP8266 HOT 4
- Always timeout (-2) with Wemos D1 Mini and 1MOhm resistor HOT 2
- Licence update
- could i use it on esp-idf ?
- does it support ESP32 board ? HOT 16
- CapacitiveSensor + interrupt HOT 1
- Compatible device
- Need help with understanding the CapacitiveSensor circuit diagram HOT 2
- Does this work wiith Adafruit Feather nRF52840 express ?
- Hi Paul do you have any plans to add in the Metro M4 (samd51) HOT 1
- Arduino Nano 33 BLE compatibility HOT 7
- too big capacity
- Arduino Nano RP2040 Connect compatibility HOT 4
- Update the version and create a new release HOT 2
- Build error on Aduino GIGA STM32 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitivesensor.