arduino-libraries / Servo

Servo Library for Arduino
http://arduino.cc/
GNU Lesser General Public License v2.1
257 stars 263 forks source link

Example with touch sensor added #88

Open youssefkhalil320 opened 2 years ago

youssefkhalil320 commented 2 years ago

Added a new example with touch sensor (the servo will move 90 degree if someone touched the sensor)

Code is documented and circuit and schematic are attached

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 2 years ago

Memory usage change @ 71f6b9d2cde61269c4f6aeae8615fa52bdf0c3bb

Board flash % RAM for global variables %
arduino:avr:leonardo 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:mega 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:nano 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nano33ble 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m4 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m7 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:megaavr:nona4809 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:sam:arduino_due_x_dbg 0 - 0 0.0 - 0.0 N/A N/A
arduino:samd:mkrzero 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table Board|examples/Knob
flash|%|examples/Knob
RAM for global variables|%|examples/Sweep
flash|%|examples/Sweep
RAM for global variables|%|examples/touch_to_open
flash|%|examples/touch_to_open
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|- arduino:avr:leonardo|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A arduino:avr:mega|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A arduino:avr:nano|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A arduino:mbed_nano:nano33ble|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A arduino:mbed_nano:nanorp2040connect|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A arduino:mbed_portenta:envie_m4|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A arduino:mbed_portenta:envie_m7|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A arduino:megaavr:nona4809|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A arduino:sam:arduino_due_x_dbg|0|0.0|N/A|N/A|0|0.0|N/A|N/A|N/A|N/A|N/A|N/A arduino:samd:mkrzero|0|0.0|0|0.0|0|0.0|0|0.0|N/A|N/A|N/A|N/A
Click for full report CSV ``` Board,examples/Knob
flash,%,examples/Knob
RAM for global variables,%,examples/Sweep
flash,%,examples/Sweep
RAM for global variables,%,examples/touch_to_open
flash,%,examples/touch_to_open
RAM for global variables,% arduino:avr:leonardo,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A arduino:avr:mega,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A arduino:avr:nano,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A arduino:mbed_nano:nano33ble,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A arduino:mbed_nano:nanorp2040connect,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A arduino:mbed_portenta:envie_m4,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A arduino:mbed_portenta:envie_m7,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A arduino:megaavr:nona4809,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A arduino:sam:arduino_due_x_dbg,0,0.0,N/A,N/A,0,0.0,N/A,N/A,N/A,N/A,N/A,N/A arduino:samd:mkrzero,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A ```