Mercurial > public > hwos_code
comparison src/tft.asm @ 646:5b7fe7777425
3.16 release
author | heinrichs weikamp |
---|---|
date | Thu, 14 Oct 2021 12:03:24 +0200 |
parents | 8c1f1f334275 |
children | aeca5717d9eb |
comparison
equal
deleted
inserted
replaced
642:a9a0188091e4 | 646:5b7fe7777425 |
---|---|
428 TFT_boot_screen3: | 428 TFT_boot_screen3: |
429 rcall display1_init ; init sequence | 429 rcall display1_init ; init sequence |
430 rcall TFT_ClearScreen | 430 rcall TFT_ClearScreen |
431 setf CCPR1L ; duty cycle, 255 is required for OLED | 431 setf CCPR1L ; duty cycle, 255 is required for OLED |
432 ; Set brightness | 432 ; Set brightness |
433 movff opt_brightness,PRODL ; =0: Eco, =1:Medium, =2:Full | 433 movff brightness,PRODL ; =0: Eco, =1:Medium, =2:Full |
434 incf PRODL,F ; +1 | 434 incf PRODL,F ; +1 |
435 dcfsnz PRODL,F | 435 dcfsnz PRODL,F |
436 rcall TFT_display3_low | 436 rcall TFT_display3_low |
437 dcfsnz PRODL,F | 437 dcfsnz PRODL,F |
438 rcall TFT_display3_med | 438 rcall TFT_display3_med |