vincentspm Posted July 16, 2007 Report Share Posted July 16, 2007 if i use a PIC16F877A, then i use potentiometer to control the voltage sending in to the input of the PIC from 0 - 5v..then in programming, what can it detect? is shows in digital what form? example if i vary 2.5v, then in programming what should i write? Quote Link to comment Share on other sites More sharing options...
doc Posted July 16, 2007 Report Share Posted July 16, 2007 Hello and welcome to the community.Your post is a little confusing and surely it is in the wrong group.Or what is your concept you want to discuss ??(You postet in Design concepts ... )But to answer your question:then i use potentiometer to control the voltage sending in to the input of the PIC from 0 - 5v..then in programming, what can it detect?The voltage between 0 and 5 Volt ???If your question is how to program this in general you should take the datasheet of the PIC and a nice source of "How to program a PIC" If you want to control a midi value with it: You can use the AIN Module for this purpose.Sorry if this sounds a bit hard (english isn't my native language) but it could also be, that I misunderstood your question ...example if i vary 2.5v, then in programming what should i write?You should write what you want to do with the 2,5V at the input ... greetsDoc 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.