generated from hulk/gd32e23x_template
	@@ -35,14 +35,14 @@ int main(void)
 | 
			
		||||
 | 
			
		||||
    printf("system start!\r\n");
 | 
			
		||||
 | 
			
		||||
    // ultrasonic_config();
 | 
			
		||||
    ultrasonic_config();
 | 
			
		||||
 | 
			
		||||
    while(1){
 | 
			
		||||
        // gd60914_get_object_tempture();
 | 
			
		||||
        gd60914_get_object_tempture();
 | 
			
		||||
 | 
			
		||||
        delay_ms(50);
 | 
			
		||||
 | 
			
		||||
        // ultrasonic_pwm_out_cycles(ULTRASONIC_TX_CYCLES);
 | 
			
		||||
        ultrasonic_pwm_out_cycles(ULTRASONIC_TX_CYCLES);
 | 
			
		||||
 | 
			
		||||
        watchdog_reload();
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user