Guest Fractal Posted July 3, 2004 Report Share 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 Quote Link to comment Share on other sites More sharing options...
Guest Fractal Posted July 3, 2004 Report Share 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.