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 6590367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:17:24+00:00 2026-05-25T17:17:24+00:00

I am working on a program for Arduino that sends data to some shift

  • 0

I am working on a program for Arduino that sends data to some shift registers to control a large dot-matrix display. I need the text to scroll, and this is where I run into problems. Let’s say for example that the display is showing “HI”. The first set of data along the entire screen would be “10001 11111”. This will represent the columns that are lit in the first phase. If I put that together and add a space I get “10001011111” I have figured out that a number in binary can be shifted one column by dividing it by 2.

So for example “11111” / 2 = 01111. The next division is 00111, then 00011, and 00001, etc. The problem is that I am passing the data to two separate shift registers, one for each digit. So first I send “11111”, and then I shift in “10001”. When they are scrolling the data needs to transfer from one display to another. Below is a chart to try to make more sense of this:
For the work “HI”

BAD

     H   |   I
   10001 0 11111
   01000 0 01111
   00100 0 00111
   00010 0 00011
   00001 0 00001
   00000 0 00000

What I need

         H   |   I
       10001 0 11111
       01000 1 01111
       00100 0 10111
       00010 0 01011
       00001 0 00101
       00000 1 00010
       00000 0 10001
       00000 0 01000
       00000 0 00100
       00000 0 00010
       00000 0 00001
       00000 0 00000

I have really tried everything I can think of. What is the solution?

  • 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-25T17:17:25+00:00Added an answer on May 25, 2026 at 5:17 pm

    If your line will fit inside the space you have available to store the data, can’t you just put the entire line there and shift it? Rather than using a fixed central divider space, encode your message not as individual letters but just as the matrix you are trying to display.

    10001011111
    

    then repeatedly divide by 2.

    01000101111
    00100010111
    

    Do the same thing on all the other lines, I bet the 2nd one will be 10001000100 and the right-shift divide by 2 works just the same.

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

Sidebar

Related Questions

I have a working program in C++ that generates data for a Mandelbrot Set.
I'm working a program that will have a bunch of threads processing data. Each
I am currently working on program that must read data from a XML stream
is there any small working program for recieving from and sending data to client
Background: I am writing a C++ program working with large amounts of geodata, and
I am working on a program that needs to create a multiple temporary folders
I'm working on a program that processes many requests, none of them reaching more
I'm working on a program that searches entire drives for a given file. At
I have an otherwise working iPhone program. A recent change means that it generates
Am working on a program that will allow a graph of nodes to be

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.