NB-IOT control LCD screen (date setting and reading)

1. Realize the effect

insert image description here

2. Project requirements

insert image description here
y

  • The initial run graph shows the current date (year, month, day).
  • Press Key4 to display the setting diagram, the black triangle indicates the current setting item, key2 moves up the black triangle setting item, key3 moves down the black triangle setting item
  • Press key4 on the setting map page, turn on the @ symbol on the current setting item, and the LED2 light on the board is on, indicating that the current setting item can be modified, key2 key setting item plus 1, key3 key setting item minus 1,.
  • After modifying the setting items, press key4 to turn off the @ sign, the LED2 light on the board goes out, save the current value, and return to the setting diagram.
  • In the setting diagram state, press key1 reset key to return to the initial operation diagram, and the newly set date is displayed at this time.

3. Code implementation and analysis

int main( void )

Guess you like

Origin blog.csdn.net/a6662580/article/details/125964509