mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	Add some components to the new testing framework (M part 1) (#6207)
This commit is contained in:
		
							
								
								
									
										31
									
								
								tests/components/mcp4728/test.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								tests/components/mcp4728/test.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| i2c: | ||||
|   - id: i2c_mcp4728 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
|  | ||||
| mcp4728: | ||||
|   - id: mcp4728_dac | ||||
|  | ||||
| output: | ||||
|   - platform: mcp4728 | ||||
|     id: mcp4728_dac_output_a | ||||
|     channel: A | ||||
|     vref: vdd | ||||
|     power_down: normal | ||||
|   - platform: mcp4728 | ||||
|     id: mcp4728_dac_output_b | ||||
|     channel: B | ||||
|     vref: internal | ||||
|     gain: X1 | ||||
|     power_down: gnd_1k | ||||
|   - platform: mcp4728 | ||||
|     id: mcp4728_dac_output_c | ||||
|     channel: C | ||||
|     vref: vdd | ||||
|     power_down: gnd_100k | ||||
|   - platform: mcp4728 | ||||
|     id: mcp4728_dac_output_d | ||||
|     channel: D | ||||
|     vref: internal | ||||
|     gain: X2 | ||||
|     power_down: gnd_500k | ||||
		Reference in New Issue
	
	Block a user