Announcement

Collapse
No announcement yet.

Values for Diablo_Const4D.h

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ch701builder
    replied
    Oh Well, I was really looking for the ARC function, but I will do it the "MATH" way. Thanks again and have a Merry Christmas!!
    Keith

    Leave a comment:


  • ESPsupport
    replied
    Nah, if it was that easy they'd already be there.

    If it's something intricate that you want to use them for maybe you can write a function and load and use it?

    Leave a comment:


  • ch701builder
    replied
    OK, Thanks Mark, I was thinking of adding code to Diablo_Serial_4DLib.cpp and .h and call the functions that way.

    Leave a comment:


  • ESPsupport
    replied
    They are the internal function numbers from inside the PmmC, unfortunately simply adding them to the Const file will not cause them to suddenly work.

    There needs to be changes, and possibly code, inside the SPE program. There also needs to be support in Serial Commander, if you want to use them there.

    The numbers can be found easily enough, just print them, eg print(gfx_HLine) ; unfortunately as I said above, that's just the start.

    Leave a comment:


  • ch701builder
    started a topic Values for Diablo_Const4D.h

    Values for Diablo_Const4D.h

    All,
    where does the Diablo_Const4D.h values come from?
    I am wanting to expand the library, such as gfx_ARC and such, I tried to add a simple gfx_HLine but I am needing to find the value to add to the Diablo_Const4D.h file.

    such as:::::

    #define F_gfx_GetPixel -139
    #define F_gfx_Line -131
    #define F_gfx_LinePattern -193

    #define F_gfx_HLine ??????

    Where can I find where these values came from.

    Thanks,
    Keith

Working...
X