Files
EMG_Arm/.gitignore
Surya Balaji 8435f37f84 Refactor servo control into modular architecture with documentation
Code Structure:
- servo.h/c: Low-level servo control (init, PWM, position)
- gestures.h/c: High-level finger movements and hand gestures
- main.c: Clean application entry point

New Features:
- servo_degrees_to_duty(): Convert angle (0-180) to duty cycle
- servo_set_finger_degrees(): Set finger position using degrees
- finger_t enum for type-safe finger identification

Documentation:
- Added Doxygen-style comments (@file, @brief, @param, etc.)
- Professional header blocks for all modules
- Inline comments explaining hardware configuration

API Functions:
- Individual finger control: flex_thumb(), unflex_index(), etc.
- Composite gestures: gesture_make_fist(), gesture_open_hand()
- Demo sequences: demo_individual_fingers(), demo_close_open()
2026-01-18 11:38:09 -06:00

18 lines
183 B
Plaintext

# Python
__pycache__/
*.py[cod]
*.egg-info/
.venv/
venv/
# PlatformIO
EMG_Arm/.pio/
EMG_Arm/.vscode/
# Large data files (too big for GitHub)
assets/*.hdf5
# OS
.DS_Store
Thumbs.db