-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
80 lines (63 loc) · 2.48 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
PedalSwitcher
===============================================================================
Copyright (C) 2013 Raphaël Mouneyres ([email protected])
Licensed for personal non-commercial use only.
All other rights reserved.
===============================================================================
A precompiled binary is already part of this package:
o project.hex (can be loaded into MIOS Studio)
Following tools are required to recompile the code:
o SDCC
o gputils
The details are described under
http://www.midibox.org/dokuwiki/application_development
===============================================================================
Required hardware:
o one MBHP_CORE module
o one MBHP_DIN module
o one MBHP_DOUT module
Warning : 220R resistors must not be mounted on relay outputs
o one 2x16 LCD display
===============================================================================
PedalSwitcher is aimed at building a relay switcher as used by many guitarists
and bassists using many effect pedals.
With the current version it has following features :
- Midi In/out/through
- LCD display
- 8 relays either switched or momentary
- 4 menu buttons, 8 relay butttons with LED indicator
- 100 user presets
- 4 programmable quick access buttons (recall preset) with LED indicator
- grouping (radio mode) of relay buttons
MIDI CONTROL :
PC00 : all relays off
PC01…100 : recall preset 1..99
PC101…108 : toggle relay 1…8
PC109…110 : UP/DOWN preset
When a MIDI Program Change is received, the app automatically switches to the
new preset, without saving the current preset.
===============================================================================
Developper Notes :
see comments in main.c
// EEPROM BYTE 0x00 : global options
// MidiChannel // bit0>3
// SendMidiOnButtonChange // bit4
// ReloadActivePreset // bit5
// ForceStartupPreset // bit6
// // bits7>8 free
// EPROM BYTE 0x01 : Current Preset
// EPROM BYTE 0x02 : RelayType[1..8]
// EPROM BYTE 0x03 : RelayMode[1..8]
// EPROM BYTE 0x04 : Footswitch 1 preset
// EPROM BYTE 0x05 : Footswitch 2 preset
// EPROM BYTE 0x06 : Footswitch 3 preset
// EPROM BYTE 0x07 : Footswitch 4 preset
// EPROM BYTE 0x08 : Preset for startup when selected
// EPROM BYTE 0x09 : *reserved*
// EPROM BYTE 0x0A : *reserved*
// EPROM BYTE 0x0B : *reserved*
// EPROM BYTE 0x0C : *reserved*
// EPROM BYTE 0x0D : *reserved*
// EPROM BYTE 0x0E : *reserved*
// EPROM BYTE 0x0F : *reserved*
// EPROM BYTE 0x10 ... 0x74 : // 100 user presets