Menu

serial pwm control

Help
2009-01-18
2013-05-30
  • Nobody/Anonymous

    is there a way to send a command to my pic like :
    1235 from my pc and have the pic see the "1" and put the "235" value in a varibles place like out1 = 235, so that i could send a commannd to any output i have and have it put the value in the corresponding place, ex. 2134 = out2 value 134, 5123= out5 value 123, etc?

     
    • Hugh Considine

      Hugh Considine - 2009-01-24

      What program are you using on the PC to send the messages? If you're writing your own, it's easy to just send a number over the serial port and have the PIC receive it with the SerReceive command. If you're using HyperTerminal or similar you'll need to process the text on the PIC, which can be done but is a bit harder.

       
    • Nobody/Anonymous

      i will use vb6.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.