Linearizing an LED for 800 pwm steps'?


Results 1 to 37 of 37

Threaded View

  1. #15
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Linearizing an LED for 800 pwm steps'?

    There's no need to put it at a specific location (2049).
    It's just in-line data that can be anywhere in code space.
    The DataTable label let's the compiler know where it is.

    The example shows putting two values in two locations.
    Just continue putting more data in as needed. You can use multiple lines,
    Code:
        DW 256,257,258,259,260,261,262,263,264
        DW 268,270 ... etc.
    And rember that the READCODE has to be AFTER the DataTable.
    Another reason not to put it at a specific address.
    Last edited by Darrel Taylor; - 28th February 2012 at 02:19.
    DT

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