Display Open Smart mit RM68130 ansteuern

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • RM68130 is very close to ILI9225. Try this Display ILI9225 176x220 Pixel 2.2"
      with this INIT:


      BASCOM-Quellcode

      1. ' INIT RM68130
      2. Call Rm68130_write_reg(&H28 , &H00CE) ' Software Reset
      3. Call Rm68130_write_reg(&H01 , &H011C) ' Driver Output Control
      4. Call Rm68130_write_reg(&H03 , &H1030) ' Entry Mode
      5. Call Rm68130_write_reg(&H07 , &H0017) ' Display Control
      6. Call Rm68130_write_reg(&H11 , &H1000) ' Power Control
      7. Call Rm68130_write_reg(&H20 , &H0000) ' Ram Address Set(horizontal Address)
      8. Call Rm68130_write_reg(&H21 , &H0000) ' Ram Address Set(vertical Address)
      9. Call Rm68130_write_reg(&H36 , &H00AF) ' Windows Address Position
      10. Call Rm68130_write_reg(&H37 , &H0000) ' Windows Address Position
      11. Call Rm68130_write_reg(&H38 , &H00DB) ' Windows Address Position
      12. Call Rm68130_write_reg(&H39 , &H0000) ' Windows Address Position
      13. Call Rm68130_write_reg(&H02 , &H0000) ' Lcd Driving Wave Control 0 : Column Inversion
      14. Call Rm68130_write_reg(&Hb0 , &H1412) ' Power Control(0c12)
      15. Call Rm68130_write_reg(&H0b , &H0000) ' Frame Rate Control 4 -bit
      16. Call Rm68130_write_reg(&He8 , &H0100) ' Gamma Command 1 : Gamma Enable
      17. Call Rm68130_write_reg(&Hb1 , &H0F0F) ' + - Gamma Voltage Setting
      18. Call Rm68130_write_reg(&H50 , &H0003) ' Below : Gamma Setting
      19. Call Rm68130_write_reg(&H51 , &H0807) '
      20. Call Rm68130_write_reg(&H52 , &H0C08) '
      21. Call Rm68130_write_reg(&H53 , &H0503) '
      22. Call Rm68130_write_reg(&H54 , &H0003) '
      23. Call Rm68130_write_reg(&H55 , &H0807) '
      24. Call Rm68130_write_reg(&H56 , &H0003) '
      25. Call Rm68130_write_reg(&H57 , &H0503) '
      26. Call Rm68130_write_reg(&H58 , &H0000) '
      27. Call Rm68130_write_reg(&H59 , &H0000) '
      28. Call Rm68130_write_reg(&He8 , &H0102)
      29. Call Rm68130_write_reg(&Hfb , &H002A)
      30. Call Rm68130_write_reg(&He8 , &H0101)
      31. Call Rm68130_write_reg(&Hf1 , &H0040)
      Alles anzeigen