Added pulldown resistor for analogue inputs
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{
|
||||
"board": {
|
||||
"active_layer": 0,
|
||||
"active_layer_preset": "",
|
||||
"active_layer_preset": "All Layers",
|
||||
"auto_track_width": true,
|
||||
"hidden_nets": [],
|
||||
"high_contrast_mode": 0,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
22
README.MD
Normal file
22
README.MD
Normal file
@ -0,0 +1,22 @@
|
||||
Features:
|
||||
- 6 output channels
|
||||
- Master BPM
|
||||
- Separate divider or multiplier per chennel (from /32 to x24)
|
||||
- Per-channel random pulse skip (currently only 50/50 chance)
|
||||
- 2 inputs for external modulation (currently only 1, hardcoded to channel 6)
|
||||
|
||||
TODO:
|
||||
- per-channel modulation settings
|
||||
- different chance options for random
|
||||
- External clock
|
||||
- Save state to EEPROM when stopped
|
||||
- swing
|
||||
- Switch to U8G2 for screen
|
||||
- settings (input mode, pulse length)
|
||||
- Design PCB
|
||||
|
||||
Timer library available here
|
||||
https://github.com/PaulStoffregen/FlexiTimer2
|
||||
|
||||
KiCad SSD1306 display component
|
||||
https://github.com/pforrmi/KiCad-SSD1306-128x64
|
||||
@ -251,10 +251,11 @@ void checkInputs() {
|
||||
//modulations
|
||||
a1Input = analogRead(ANALOGUE_INPUT_1_PIN);
|
||||
|
||||
a1Input = map (a1Input, 5, 1023, 0, 4);
|
||||
a1Input = map (a1Input, 0, 1023, 0, 4);
|
||||
a2Input = analogRead(ANALOGUE_INPUT_2_PIN);
|
||||
Serial.println(a2Input);
|
||||
a2Input = map (a2Input, 5, 1023, 0, 4);
|
||||
a2Input = map (a2Input, 0, 1023, 0, 4);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user