TelenkovDmitry 1 năm trước cách đây
mục cha
commit
2dc9b9612c
5 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      modules/pwm_in.c
  2. BIN
      output/lasertag.bin
  3. 1 1
      project/ewarm/drone.dep
  4. 0 0
      project/settings/drone.wsdt
  5. 1 1
      user/main.c

+ 1 - 1
modules/pwm_in.c

@@ -51,7 +51,7 @@ void tim_pwm_in_init(void)
     HAL_TIM_IC_ConfigChannel(&TimHandle, &sConfig, TIM_CHANNEL_2);
     
     sSlaveConfig.SlaveMode        = TIM_SLAVEMODE_RESET;
-    sSlaveConfig.InputTrigger     = TIM_TS_TI2FP2;
+    sSlaveConfig.InputTrigger     = TIM_TS_TI1FP1;
     sSlaveConfig.TriggerPolarity  = TIM_TRIGGERPOLARITY_NONINVERTED;
     sSlaveConfig.TriggerPrescaler = TIM_TRIGGERPRESCALER_DIV1;
     sSlaveConfig.TriggerFilter    = 0;

BIN
output/lasertag.bin


+ 1 - 1
project/ewarm/drone.dep

@@ -952,7 +952,7 @@
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 67 60 72 69 73 192 70 68 71 263 262 130 280 258 265 266 272 197 279 270 284 275 274 271 61 282 269 277 281 257 273 276 66 65 283 256 267 59 260 63 62 64 254 211 255</file>
+                    <file> 67 60 72 69 73 192 70 68 71 263 262 130 280 258 265 266 272 197 279 270 284 275 274 271 61 282 269 277 281 257 273 276 66 65 283 256 267 59 260 63 62 64 254 211 255 285</file>
                 </tool>
             </inputs>
         </file>

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
project/settings/drone.wsdt


+ 1 - 1
user/main.c

@@ -26,7 +26,7 @@ int main()
       
     printf("Hello world\r\n");
  
-    tim_pwm_out_init();
+    //tim_pwm_out_init();
     tim_pwm_in_init();
     
 #if 0    

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác