Skip to content
Snippets Groups Projects
Commit 21f5508f authored by Václav Jelínek's avatar Václav Jelínek
Browse files

Minor menu changes

parent a67f368b
No related branches found
No related tags found
1 merge request!12Major update of menu visuals and example programs
......@@ -98,7 +98,8 @@ def display_fill_arrows(robot):
def display_fill_fw_version(robot, fw_version):
robot.display.fill(0)
robot.display.centered_text("< Firmware >", DISPLAY_TITLE_POS, 1)
robot.display.centered_text(fw_version, DISPLAY_PROG_POS, 1)
robot.display.centered_text("Open-Cube", DISPLAY_PROG_POS-4, 1)
robot.display.centered_text(fw_version, DISPLAY_PROG_POS+4, 1)
# Show program error on display
def display_show_error(robot):
......
......@@ -80,4 +80,4 @@ PCF_CHECK_PERIOD = const(50) # ms
I2C_FREQ = const(400000) # Hz
ESP_BAUDRATE = const(115200) # bps
FW_VERSION = "15.10.2024" # Firmware version
\ No newline at end of file
FW_VERSION = "17.10.2024" # Firmware version
\ No newline at end of file
......@@ -33,7 +33,7 @@ def main():
('NXT Touch', menu_programs.nxt_touch_run), ('NXT Ultrasonic', menu_programs.nxt_ultra_run),
('EV3 Color', menu_programs.ev3_color_run), ('EV3 Gyro', menu_programs.ev3_gyro_run),
('EV3 Infrared', menu_programs.ev3_infra_run), ('EV3 Ultrasonic', menu_programs.ev3_ultra_run),
('EV3&OC Touch', menu_programs.ev3_oc_touch_run),
('EV3 & OC Touch', menu_programs.ev3_oc_touch_run),
('OC Color', menu_programs.oc_color_run), ('OC AHRS', menu_programs.oc_gyro_run),
('OC Laser', menu_programs.oc_laser_run), ('OC Ultrasonic', menu_programs.oc_ultra_run))
MENU_PROGRAM_NXT_UTZ_IDX = 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment