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

  • Home
  • SEARCH
  • 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 7704805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:45:50+00:00 2026-05-31T23:45:50+00:00

6 led are needed to be programmed in such a way that they blink

  • 0

6 led are needed to be programmed in such a way that they blink randomly. There will be total of 3 blinks. Any of the 3 out of 6 leds should blink.

I am not getting an idea, how that should be done. Please guide about the algorithm or procedure which should be followed to achieve this.

The code should be for hc11 and is to be written in assembly.

  • 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-05-31T23:45:51+00:00Added an answer on May 31, 2026 at 11:45 pm

    I’m not familiar with the exact specs for your device, but setting the LED’s is usually just a matter of setting a bit. If you don’t have access to a sudo-random number generator, you can make a cheap one by messing with multiplications and throwing sub-register values around. (Trial and error with that can take you far.) Any values you generate should keep static records to seed your next value. You can mod/shift/etc. any value you get down into a bit place for one of your LED’s. Just Shift your 1 by the random offset to a resulting random position. If you need all three random positions to light up at once, just find random positions three times, retrying if you ever get a repeat, then OR the results together to get your LED driving value. (011010, 100011,…)

    Hope this helps. It’s a pretty basic exercise.

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

Sidebar

Related Questions

Is there a way to set the LED intensity that I desire? I know
While I'm led to believe its likely just a design choice, is there any
When keyboard has no LED , for Linux machine, is there an easy way
I've been led to believe that for single variable assignment in T-SQL, set is
I have a scrolling LED sign that takes messages in either ASCII or (using
First the practical application that led me to the problem: Given a set of
Some googling has led me to believe that C++ is the best language for
I'm trying to use PWM for an LED on an ATmega8, any pin of
I have been led to believe that the best point to bind your controls
I've been led to believe that casting can, in certain circumstances, become a measurable

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.