Default 36-1 Crank
72 segments
Select one or more segments above to edit their signals
🖱️ Scroll to zoom • Drag to pan • Click segments to select • Keys 1-3 toggle signals • Click buttons for zoom controls
💡 Selected segments: 0 | Focused: None
🖱️ Scroll to zoom • Shift+Scroll = time only • Ctrl+Scroll = amplitude only • Drag to pan
// Read pattern value at index
uint8_t segmentValue = pgm_read_byte(&pattern[currentSegment]);
// Extract individual signals
bool crankHigh = segmentValue & 1;
bool cam1High = (segmentValue & 2) >> 1;
bool cam2High = (segmentValue & 4) >> 2;
// Set output pins
digitalWrite(CRANK_PIN, crankHigh);
digitalWrite(CAM1_PIN, cam1High);
digitalWrite(CAM2_PIN, cam2High);