mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix nextion display_picture argument order
Fixes https://github.com/esphome/issues/issues/613
This commit is contained in:
		| @@ -46,7 +46,7 @@ void Nextion::set_component_value(const char *component, int value) { | ||||
|   this->send_command_printf("%s.val=%d", component, value); | ||||
| } | ||||
| void Nextion::display_picture(int picture_id, int x_start, int y_start) { | ||||
|   this->send_command_printf("pic %d %d %d", picture_id, x_start, y_start); | ||||
|   this->send_command_printf("pic %d %d %d", x_start, y_start, picture_id); | ||||
| } | ||||
| void Nextion::set_component_background_color(const char *component, const char *color) { | ||||
|   this->send_command_printf("%s.bco=\"%s\"", component, color); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user