 b3f9983f44
			
		
	
	b3f9983f44
	
	
	
		
			
			Describe the new usermod enable process, and update sample platformio_override.ini stubs.
		
			
				
	
	
		
			21 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ; Options
 | |
| ; -------
 | |
| ; USERMOD_DHT_DHTTYPE              - DHT model: 11, 21, 22 for DHT11, DHT21, or DHT22, defaults to 22/DHT22
 | |
| ; USERMOD_DHT_PIN                  - pin to which DTH is connected, defaults to Q2 pin on QuinLed Dig-Uno's board
 | |
| ; USERMOD_DHT_CELSIUS              - define this to report temperatures in degrees celsious, otherwise fahrenheit will be reported
 | |
| ; USERMOD_DHT_MEASUREMENT_INTERVAL - the number of milliseconds between measurements, defaults to 60 seconds
 | |
| ; USERMOD_DHT_FIRST_MEASUREMENT_AT - the number of milliseconds after boot to take first measurement, defaults to 90 seconds
 | |
| ; USERMOD_DHT_MQTT                 - publish measurements to the MQTT broker
 | |
| ; USERMOD_DHT_STATS                - For debug, report delay stats
 | |
| 
 | |
| [env:d1_mini_usermod_dht_C]
 | |
| extends = env:d1_mini
 | |
| custom_usermods = ${env:d1_mini.custom_usermods} DHT
 | |
| build_flags = ${env:d1_mini.build_flags} -D USERMOD_DHT_CELSIUS
 | |
| 
 | |
| [env:custom32_LEDPIN_16_usermod_dht_C]
 | |
| extends = env:custom32_LEDPIN_16
 | |
| custom_usermods = ${env:custom32_LEDPIN_16.custom_usermods} DHT
 | |
| build_flags = ${env:custom32_LEDPIN_16.build_flags} -D USERMOD_DHT_CELSIUS -D USERMOD_DHT_STATS
 | |
| 
 |