How to use adc0831 chip for BS2?
TonyA
Posts: 226
Hi,
I am currently using the rctime command to read a pot with my BS2.
I notice it's going to be too slow this way.
Does anyone know of any references for using the adc0831 with the BS2 in this way? (replacing rctime, etc.)
Thanks for any info,
Tony
Post Edited (TonyA) : 8/6/2005 11:17:07 PM GMT
I am currently using the rctime command to read a pot with my BS2.
I notice it's going to be too slow this way.
Does anyone know of any references for using the adc0831 with the BS2 in this way? (replacing rctime, etc.)
Thanks for any info,
Tony
Post Edited (TonyA) : 8/6/2005 11:17:07 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
· 1. Read the ADC0831 -- you get a value between 0 and 255
· 2. Divide value from step #1 by 2;·you now have a value between 0 and 127
····· -- use this as your MIDI note
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax