Joining 5 bit variables and splitting them into 8 bit ones later?


Results 1 to 24 of 24

Threaded View

  1. #11
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653


    Did you find this post helpful? Yes | No

    Default Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    you are dealing with a matrix that fills like this


    Name:  ledm.jpg
Views: 3692
Size:  111.2 KB
    its not a particularly easy format to leverage font images that traverse cells , and you cannot read back the data from the matrix
    to make life easy i would make a memory array [frame buffer] mapped to the matrix like this


    Name:  mem.jpg
Views: 4119
Size:  108.9 KB


    it's then quite straight forward to overlay a font chr into any location
    and then create a simple routine to write the frame buffer to the display
    in the bit order the matrix demands
    Last edited by richard; - 4th January 2021 at 02:06.
    Warning I'm not a teacher

Similar Threads

  1. 32 Bit NEC IR Constants/Variables
    By Zebryk in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd July 2013, 14:51
  2. Joining variables and displaying on an LCD
    By Navaidstech in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th April 2009, 04:12
  3. 32-bit Variables and DIV32, Hourmeter 99999.9
    By Darrel Taylor in forum Code Examples
    Replies: 9
    Last Post: - 23rd November 2006, 07:23
  4. How to tell which PICs can handle 16 bit variables?
    By MikeTamu in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st August 2005, 08:44
  5. Bit variables... typo?
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 29th November 2004, 18:11

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts