How cornellcollegecomputingclub/c4-sign works
Main Components
a) Core System Components:
• Main Application Controller
• Screen Manager
• Task Loading System
• Drivers Layer
• Task Management System
• Update System
b) Hardware Interfaces:
• 32x32 LED Matrix Display
• 16x2 LCD Character Display
• I2C Interface
• NeoPixel Controller
c) Simulation Components:
• Web-based Simulator
• Browser Interface
[Web Browser Interface (Simulator)] -----> [Main Application Controller]
[Screen Manager] <---> [Task Loading System]
[Task Management System]
[Graphics Library]
[Display Drivers]
• / \
[LED Matrix] [LCD Display]
Key Relationships to Highlight
a) Task System:
• How screen_tasks connect to the base_task.py
• Task loading and execution flow
• Relationship between tasks and the screen manager
b) System:
• Abstraction layers between physical and simulated displays
• How the graphics library interfaces with both modes
Important Implementation Details
• File structure organization (/c4_sign/lib, /c4_sign/screen_tasks)
• Configuration flow from consts.py
• Update system's periodic execution path
• Emulator's web interface components
Specific Components to Detail
[Screen Manager]
• Task scheduling
• Display management
• State handling
[Graphics Library]
• Canvas operations
• Drawing primitives
• Font rendering
[Hardware Abstraction Layer]
• Physical drivers
• Simulator interface
• I2C communication