Skip to content

Counting sequence in RAM_DL #51

Answered by RudolphRiedel
cvu1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
all the simple commands are one 32 bit word, that makes 21 and leaves the two CMD_TXT.

Both CMD_TEXT have a text with a length of 4 chars.
EVE_cmd_text(int16_t x0, int16_t y0, int16_t font, uint16_t options, const char* text);
CMD_TEXT itself, coordinates, font and options are three 32 bit words.
And the text needs two 32 bit words since it has to end on 0x00 and be 32 bit aligned.

That makes five per CMD_TEXT and 31 in total, you are correct.

I am not sure what I was actually counting that day. :-)
And actually it even is only 29 since the first two commands are for the display list itself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RudolphRrr
Comment options

Answer selected by cvu1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants