Functions | |||
![]() | ![]() | void | lcd_number (int i,lcd_number_style n,lcd_comma_style c ) |
![]() | ![]() | show number on LCD display. More... | |
![]() | ![]() | __asm__ (" .text .align 1 .globl _lcd_number _lcd_number: push r6 ; save r6 push r2 ; comma_style -> stack push r0 ; number -> stack mov.w r1,r6 ; number_style -> r6 jsr @lcd_number ; call ROM adds #0x02,sp ; clear stack adds #0x02,sp pop r6 ; restore r6 rts ") | |
Variables | |||
![]() | ![]() | unsigned char | lcd_refresh_counter |
![]() | ![]() | counter for lcd refresh in ms. | |
![]() | ![]() | unsigned char | lcd_refresh_period |
![]() | ![]() | LCD refresh period in ms. |
void lcd_number (int i, lcd_number_style n, lcd_comma_style c) |
show number on LCD display.
i | the number |
n | a number style |
c | a comma style |
__asm__ (".text.align 1.globl _lcd_number_lcd_number:push r6;save r6 push r2;comma_style-, stack push r0;number-, stack mov. w r1, r6;number_style-, r6 jsr@lcd_number;call ROM adds# 0x02, sp;clear stack adds# 0x02, sp pop r6;restore r6 rts") |
unsigned char lcd_refresh_counter |
counter for lcd refresh in ms.
unsigned char lcd_refresh_period |
LCD refresh period in ms.