Subversion Repositories svn.mios32

Rev

Rev 1775 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1775 tk 1
# Reset to default
2
RESET_HW
3
 
4
 
5
# LCD message after load
6
LCD "%C@(1:1:1)AIN FSR Test"
7
 
8
# AIN hardware: only enable J5.A0 input
9
# reduce the resolution (e.g. to 5bit) if you notice jittering values
10
AIN enable_mask=100000  resolution=4bit
11
 
12
# value range for J5.A0
13
AIN pinrange=1:30:4095
14
 
15
# generate a note on/off event
16
# use a filter delay of 20 mS
17
EVENT_AIN    id=  1  ain_filter_delay_ms=20 \
18
             type=NoteOn   chn= 1 key=36  range=  0:127 offset=  0  ports=1000100000001000  lcd_pos=1:1:2  label="^std_ain" \