# Arduino Giga and capacitive sensor issue

**URL:** <https://forum.arduino.cc/t/arduino-giga-and-capacitive-sensor-issue/1213163>\
**Category:** GIGA R1 WiFi\
**Created:** [January 19, 2024, 1:12pm UTC](https://forum.arduino.cc/t/arduino-giga-and-capacitive-sensor-issue/1213163 "2024-01-19T13:12:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lefab64](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@lefab64](https://forum.arduino.cc/u/lefab64)\
**Post date:** [January 19, 2024, 1:12pm UTC](https://forum.arduino.cc/t/arduino-giga-and-capacitive-sensor-issue/1213163/1 "2024-01-19T13:12:59Z")

</div>

Hello,  
I would like to make a capacitive sensor by using the CapacitiveSensor library [GitHub - PaulStoffregen/CapacitiveSensor: Detect touch or proximity by capacitve sensing](https://github.com/PaulStoffregen/CapacitiveSensor)  
Unfortunately I have an error during the build :  
CapacitiveSensor.h:221:2: error: 'IO\_REG\_TYPE' does not name a type IO\_REG\_TYPE sBit; // send pin's ports and bitmask

I think it's because this library is not compatible with STM32.  
Do somebody has a solution to use this library or another one to make a capacitive sensor with arduino GIGA ?

Regards.
