arpruss / adctouchsensor Goto Github PK
View Code? Open in Web Editor NEWcapacitive touch detection without external hardware for AVR and STM32
License: MIT License
capacitive touch detection without external hardware for AVR and STM32
License: MIT License
.pio/libdeps/blackpill_f103c8/ADCTouchSensor/src/ADCTouchSensor.h:46:87: error: 'ADCTOUCH_DEFAULT_DELAY' was not declared in this scope 46 | ADCTouchSensor(int pin, int sacrificialPin=-1, unsigned delayTimeMicroseconds=ADCTOUCH_DEFAULT_DELAY);
`[env:blackpill_f103c8]
platform = ststm32
board = blackpill_f103c8
framework = arduino
lib_deps =
arpruss/ADCTouchSensor @ ^0.0.12
arpruss/ADCTouchSensor @ ~0.0.12
arpruss/ADCTouchSensor @ 0.0.12`
I wanna make 16 buttons, how can i add the code?
can this library be used to arrange electrodes in a matrix? or do they need to be isolated from each other, also how does this library do when multiple pads are pressed at once?
Hi !
ST micro is pushing hard on this new C0 architecture, and it has some interesting advantages! (price, power consumption, miniaturization...)
The stm32duino team just added C0 support and it will be on the next release :)
=> would it be hard/long for your team to port this lib to the C0 too?
I would be happy to try, but I'm a bit rusty with STM32s so I would need some high level advice :)
Hi!
I've ordered an Arduino Nano IoT, planning to use it with the CapSense library. But now I've found this one. It looks more reliable in the sensing than the other. I would give it a try, but I don't know if it works with the board. It comes with an ARM SAMD21 Cortex®-M0+ 32bit. It belongs to the family STM32 32-bit Arm Cortex MCUs, part of the Ultra Low Power chips.
Is this library ready also for this chip? If not, what should (could) I do to make it working?
Hi wonderful people, I'm having the following error popping up in the Arduino IDE during compilation..
....\Documents\Arduino\libraries\ADCTouchSensor-master\src/ADCTouchSensor.h:46:87: error: 'ADCTOUCH_DEFAULT_DELAY' was not declared in this scope
46 | ADCTouchSensor(int pin, int sacrificialPin=-1, unsigned delayTimeMicroseconds=ADCTOUCH_DEFAULT_DELAY);
|
I have tried accounting for this by including various forms of:
ADCTouchSensor ADCTOUCH_DEFAULT_DELAY = 500;
but the error persists..
Does anyone know a workaround?!
Thank you!
While trying to compile for STM32 architecture I got a compilation error at
ADCTouchSensor/src/ADCTouchSensor.cpp
Line 79 in b0ebd81
ADCTouchSensor\0.0.9\src\ADCTouchSensor.cpp: In member function 'int ADCTouchSensor::readRaw(unsigned int)':
ADCTouchSensor\0.0.9\src\ADCTouchSensor.cpp:79:20: error: 'ground' was not declared in this scope
ground();
^
Am I missing something?
Hi,
Is there any chance you could extend the definitions to include the Arduino Nano Every?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.