Skip to content

Commit

Permalink
Create machine_pwm_esp32_50_10k.exp
Browse files Browse the repository at this point in the history
  • Loading branch information
IhorNehrutsa committed Nov 5, 2024
1 parent 9b7a224 commit 9f75598
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions tests/extmod_hardware/machine_pwm_esp32_50_10k.exp
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
Test frequencies: (50, 100, 500, 1000, 2000, 5000, 10000)
freq= 50 duty_u16 = 0 = 0.00% : True True : 0 True
freq= 50 duty_u16 = 8192 = 12.50% : True True : 0 True 1 True
freq= 50 duty_u16 = 16384 = 25.00% : True True : 0 True 1 True
freq= 50 duty_u16 = 24576 = 37.50% : True True : 0 True 1 True
freq= 50 duty_u16 = 32768 = 50.00% : True True : 0 True 1 True
freq= 50 duty_u16 = 40960 = 62.50% : True True : 0 True 1 True
freq= 50 duty_u16 = 49152 = 75.00% : True True : 0 True 1 True
freq= 50 duty_u16 = 57344 = 87.50% : True True : 0 True 1 True
freq= 50 duty_u16 = 65536 = 100.00% : True True : 1 False

freq= 100 duty_u16 = 0 = 0.00% : True True : 0 True
freq= 100 duty_u16 = 8192 = 12.50% : True True : 0 True 1 True
freq= 100 duty_u16 = 16384 = 25.00% : True True : 0 True 1 True
freq= 100 duty_u16 = 24576 = 37.50% : True True : 0 True 1 True
freq= 100 duty_u16 = 32768 = 50.00% : True True : 0 True 1 True
freq= 100 duty_u16 = 40960 = 62.50% : True True : 0 True 1 True
freq= 100 duty_u16 = 49152 = 75.00% : True True : 0 True 1 True
freq= 100 duty_u16 = 57344 = 87.50% : True True : 0 True 1 True
freq= 100 duty_u16 = 65536 = 100.00% : True True : 1 True

freq= 500 duty_u16 = 0 = 0.00% : True (0, 262144) : 0 True
freq= 500 duty_u16 = 8192 = 12.50% : True True : 0 True 1 True
freq= 500 duty_u16 = 16384 = 25.00% : True True : 0 True 1 True
freq= 500 duty_u16 = 24576 = 37.50% : True True : 0 True 1 True
freq= 500 duty_u16 = 32768 = 50.00% : True True : 0 True 1 True
freq= 500 duty_u16 = 40960 = 62.50% : True True : 0 True 1 True
freq= 500 duty_u16 = 49152 = 75.00% : True True : 0 True 1 True
freq= 500 duty_u16 = 57344 = 87.50% : True True : 0 True 1 True
freq= 500 duty_u16 = 65536 = 100.00% : True True : 1 True

freq= 1000 duty_u16 = 0 = 0.00% : True True : 0 True
freq= 1000 duty_u16 = 8192 = 12.50% : True True : 0 True 1 True
freq= 1000 duty_u16 = 16384 = 25.00% : True True : 0 True 1 True
freq= 1000 duty_u16 = 24576 = 37.50% : True True : 0 True 1 True
freq= 1000 duty_u16 = 32768 = 50.00% : True True : 0 True 1 True
freq= 1000 duty_u16 = 40960 = 62.50% : True True : 0 True 1 True
freq= 1000 duty_u16 = 49152 = 75.00% : True True : 0 True 1 True
freq= 1000 duty_u16 = 57344 = 87.50% : True True : 0 True 1 True
freq= 1000 duty_u16 = 65536 = 100.00% : True True : 1 True

freq= 2000 duty_u16 = 0 = 0.00% : True True : 0 True
freq= 2000 duty_u16 = 8192 = 12.50% : True True : 0 True 1 True
freq= 2000 duty_u16 = 16384 = 25.00% : True True : 0 True 1 True
freq= 2000 duty_u16 = 24576 = 37.50% : True True : 0 True 1 True
freq= 2000 duty_u16 = 32768 = 50.00% : True True : 0 True 1 True
freq= 2000 duty_u16 = 40960 = 62.50% : True True : 0 True 1 True
freq= 2000 duty_u16 = 49152 = 75.00% : True True : 0 True 1 True
freq= 2000 duty_u16 = 57344 = 87.50% : True True : 0 True 1 True
freq= 2000 duty_u16 = 65536 = 100.00% : True True : 1 True

freq= 5000 duty_u16 = 0 = 0.00% : True True : 0 True
freq= 5000 duty_u16 = 8192 = 12.50% : True True : 0 True 1 True
freq= 5000 duty_u16 = 16384 = 25.00% : True True : 0 True 1 True
freq= 5000 duty_u16 = 24576 = 37.50% : True True : 0 True 1 True
freq= 5000 duty_u16 = 32768 = 50.00% : True True : 0 True 1 True
freq= 5000 duty_u16 = 40960 = 62.50% : True True : 0 True 1 True
freq= 5000 duty_u16 = 49152 = 75.00% : True True : 0 True 1 True
freq= 5000 duty_u16 = 57344 = 87.50% : True True : 0 True 1 True
freq= 5000 duty_u16 = 65536 = 100.00% : True True : 1 True

freq= 10000 duty_u16 = 0 = 0.00% : True (0, 65536) : 0 False
freq= 10000 duty_u16 = 8192 = 12.50% : True True : 0 True 1 True
freq= 10000 duty_u16 = 16384 = 25.00% : True True : 0 True 1 True
freq= 10000 duty_u16 = 24576 = 37.50% : True True : 0 True 1 True
freq= 10000 duty_u16 = 32768 = 50.00% : True True : 0 True 1 True
freq= 10000 duty_u16 = 40960 = 62.50% : True True : 0 True 1 True
freq= 10000 duty_u16 = 49152 = 75.00% : True True : 0 True 1 True
freq= 10000 duty_u16 = 57344 = 87.50% : True True : 0 True 1 True
freq= 10000 duty_u16 = 65536 = 100.00% : True True : 1 True

0 comments on commit 9f75598

Please sign in to comment.