Note that there are some explanatory texts on larger screens.

plurals
  1. POCode for controlling lighting through the USB using a PIC?
    primarykey
    data
    text
    <p>I am looking for some code as I don't really wanna get into the details at the hardware end of it . I plan on building a project where I can control some led lighting through the USB port . I've been told one way to do this is to use a PIC microcontroller (the 18f series has usb functionality built in ) . The only problem is I have to read a great deal into Microchip's libraries to be able to do anything remotely productive, which defeats the whole point as I'm not looking to study the architecture of the USB in any detail . I can program in C/C++/C#/Java . I do understand ALP code(8086) but I don't look forward to it . I know there has to be a way for this to happen . I'm looking for code wherein I could just make some changes in the code and adapt it to this problem .</p> <p>Consider this simple situation , when a certain signal(any data) is received from the usb port , the microcontroller sets all the pins on a particular port to say a logic 1, this way all the led's glow on reception of a signal through the usb port . </p> <p>The lights are like notification led's on a phone . They need to be computer controlled because I'm hoping to get them to work , say when I'm getting a call on my phone (when my phone is synced to the comp ) or with the equalizer on Winamp and so on . Its what makes the computer controlled part important. </p> <p>I can see that this should perhaps be possible . It appears that this problem is very simple for someone who is already into programming PIC's and also that this problem is very old . Almost all of the code I found through Google(broken links/outdated info) was pretty useless. There might be other ways of doing this , and at this point I'm not too sure of the PIC idea myself . </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload