comparison src/tft.asm @ 647:357341239438

Merge
author heinrichs weikamp
date Thu, 14 Oct 2021 12:04:12 +0200
parents 5b7fe7777425
children aeca5717d9eb
comparison
equal deleted inserted replaced
644:1e695355dfc4 647:357341239438
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