Guest Fractal Posted July 3, 2004 Report Posted July 3, 2004 Hi, I am building a midibox (18F452), now I have the core and one AIN with 16 pots. I have burned the bootloader, then I uploaded the MIOSv1.6 and all worked OK, it sends and recive Syex menssages. Then I upload the ain_example1 and it worked, but instead of reading pot 0 it is reading pot 7. I have checked the wiring and also I modified the ain_example1 to send the pot number too and it send 0. Could somebody help me to know what I am doing wrong ??Thanks
Guest Fractal Posted July 3, 2004 Report Posted July 3, 2004 Well, welll, wellI have found it, it was the application ain_example1.This part, as it says I don't have to use de AIN modules, so I can connect the pots directly to the core module. ;; don't use the AIN 4051 multiplexers call MIOS_AIN_UnMuxed I have change it to ;; using AIN module with 4051 multiplexers call MIOS_AIN_Muxedand all worked smoothly.Sorry for this silly question, I would try to read more carefully the next time.Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now