Skip to content

Commit

Permalink
Update README about teaching mode
Browse files Browse the repository at this point in the history
  • Loading branch information
708yamaguchi committed Nov 1, 2024
1 parent e695739 commit de0df14
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions firmware/atom_s3_i2c_display/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The `atom_s3_i2c_display` includes multiple modes. This feature allows the robot
- `i2c_button_state_publisher.cpp` facilitates communication between these programs.
The following sections provide details on the base code for the AtomS3 firmware.

- `main.cpp` includes instances for each mode and stores them in a list. Each time a long click occurs, the active task switches to another mode.
- `main.cpp` includes instances for each mode and stores them in a list. Each time a long click occurs, the active task switches to another mode. Note that this program does not include instances of Servo Control Mode, Pressure Control Mode and Teachiing Mode by default.

- `atom_s3_lcd.h` is a shared library for the AtomS3, containing functions for drawing on the LCD and holding variables needed for rendering data, such as jpegBuf and qrCodeData.

Expand Down Expand Up @@ -102,9 +102,11 @@ The following sections provide details on the base code for the AtomS3 firmware.
- A triple click turns off the servo.

In the `RECORD` state:
- A single click starts or stops recording motion.
- Recording motion automatically starts at the moment of transition from `WAIT` state to `RECORD` state
- A single click stops recording motion.
- After recording, the state automatically returns to `WAIT`.

In the `PLAY` state:
- A single click starts or stops playing the recorded motion.
- Playing motion automatically starts at the moment of transition from `WAIT` state to `PLAY` state
- A double click stops playing motion.
- After playback, the state automatically returns to `WAIT`.

0 comments on commit de0df14

Please sign in to comment.