Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8251713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:19:46+00:00 2026-06-08T00:19:46+00:00

I am looking for some code as I don’t really wanna get into the

  • 0

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 .

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 .

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.

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 .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:19:47+00:00Added an answer on June 8, 2026 at 12:19 am

    I’ve done such a thing, and found the following article very useful. It provides schematics, PIC C code, tells about installing a PIC C compiler and even the Windows control code. Do have a look, it provides everything you will need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking over some older code, I've run into a strange namespace error. Let's say
I'm looking over some code and I came across some syntax that I don't
I'm looking for some code to get the dimensions of an image on a
I'm looking at some code examples on powershellpro.com and don't understand why he wrote
I'm looking at some code that uses PATH_SEPARATOR . I don't think this constant
I am looking through some C source code and I don't understand the following
Looking at our codebase some code is included in a project explicitly and is
I'm looking at some Matlab code (don't have the software). I'm wondering what the
while looking at some code I stumbled onto: throw /*-->*/new std::exception (//... and I
I was looking at some code a friend sent me, and he said: It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.