mirror of
				https://github.com/s00500/ESPUI.git
				synced 2025-11-04 14:33:22 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/MartinMueller2003/ESPUI
This commit is contained in:
		
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							@@ -28,6 +28,7 @@ The Library runs on any kind of **ESP8266** and **ESP32** (NodeMCU, AI Thinker,
 | 
			
		||||
  * [Slider](#slider)
 | 
			
		||||
  * [Number Input](#number-input)
 | 
			
		||||
  * [Text Input](#text-input)
 | 
			
		||||
  * [File Display](#filedisplay)
 | 
			
		||||
  * [Date, Time, Colour and Password Input](#date-time-colour-and-password-input)
 | 
			
		||||
  * [Select control](#select-control)
 | 
			
		||||
  * [Getting the Time](#getting-the-time)
 | 
			
		||||
@@ -63,8 +64,9 @@ The Library runs on any kind of **ESP8266** and **ESP32** (NodeMCU, AI Thinker,
 | 
			
		||||
- Vertical controls by @iangray001
 | 
			
		||||
- Time/date/password/color input types by @pcbbc
 | 
			
		||||
- Delayed response support @MartinMueller2003
 | 
			
		||||
- Fragmented control transfer @ MartinMueller2003
 | 
			
		||||
- Fragmented control transfer @MartinMueller2003
 | 
			
		||||
- Extended Callback @MartinMueller2003
 | 
			
		||||
- Added a file display element @MartinMueller2003
 | 
			
		||||
 | 
			
		||||
## Roadmap
 | 
			
		||||
 | 
			
		||||
@@ -146,6 +148,7 @@ more program memory to work with.
 | 
			
		||||
- Separator
 | 
			
		||||
- Time
 | 
			
		||||
- Graph (partial implementation)
 | 
			
		||||
- File Display
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Documentation
 | 
			
		||||
@@ -354,6 +357,19 @@ However even with a type set, user input should still be validated
 | 
			
		||||
because it is easy to bypass client-side checks. Never trust user input.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#### File Display
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
The File Display control is used to upload a file from the ESP file system and display the contents on the UI. The content is Auto Scrolled 
 | 
			
		||||
to the last line in the file. Syntax:
 | 
			
		||||
 | 
			
		||||
`fileDisplayId = ESPUI.fileDisplay("Filetest", ControlColor::Turquoise, FullyQualified FilePath);`
 | 
			
		||||
 | 
			
		||||
After updating the contents of the file, trigger a display update using: 
 | 
			
		||||
`ESPUI.updateControl(fileDisplayId);`
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#### Select control
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								docs/ui_fileDisplay.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/ui_fileDisplay.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 23 KiB  | 
@@ -46,6 +46,6 @@ board_build.flash_mode = dout
 | 
			
		||||
lib_deps =
 | 
			
		||||
    ${env.lib_deps}
 | 
			
		||||
    me-no-dev/AsyncTCP
 | 
			
		||||
upload_port  = COM9
 | 
			
		||||
monitor_port = COM9
 | 
			
		||||
upload_port  = COM6
 | 
			
		||||
monitor_port = COM6
 | 
			
		||||
monitor_speed = 115200
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user