Mercurial > public > hwos_code
comparison src/tft.asm @ 645:070528a88715
3.16 release
author | heinrichsweikamp |
---|---|
date | Sun, 07 Nov 2021 12:39:23 +0100 |
parents | 8c1f1f334275 |
children | aeca5717d9eb |
comparison
equal
deleted
inserted
replaced
644:1e695355dfc4 | 645:070528a88715 |
---|---|
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 |