Viewing 1 reply thread
  • Author
    Posts
    • kgpcrkgpcr
      Participant
      @kgpcr
      Post count: 3

      I would like to implement a text box using stone lcd, but instead of entering the value manually, I can adjust the value by adjusting the scroll wheel next to it.

    • Fiona LiuFiona Liu
      Keymaster
      @bancroft
      Post count: 371

      Click on the left arrow text box to decrease the data, click on the right arrow text box to increase the data. To achieve the above incremental adjustment function, two incremental adjustment buttons and a data variable display need to be designed. The left arrow is set to — and the right arrow is set to + +. In order for the incremental adjustment to be displayed in the middle of the data variable, the two buttons and the data variable must have the same variable storage address defined in the diagram.
      The properties of the right arrow incremental adjustment button are set as shown in Figure 5-4-1 and the serial port returns the following command when the right arrow button is clicked continuously
      A5 5A 06 83 6f 01 01 00 01 A5 5A 06 83 6f 01 01 00 02 …… A5 5A 06 83 6f 01 01 00 09

      • kgpcrkgpcr
        Participant
        @kgpcr
        Post count: 3

        Thank you very much for your guidance, I will improve it on my project.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.