can added
This commit is contained in:
@ -51,13 +51,19 @@ void testSwitchFrequency2(void *handle) {
|
||||
inverterStart(50, CLOCKWISE);
|
||||
}
|
||||
|
||||
void testSwitchFrequency3(void *handle) {
|
||||
static uint8_t f = 1;
|
||||
inverterStart(f, CLOCKWISE);
|
||||
f++;
|
||||
}
|
||||
void my_setup_2() {
|
||||
inverterBegin();
|
||||
|
||||
inverterStart(50, CLOCKWISE);
|
||||
schAdd(testSwitchFrequency1, NULL, 5000, 0);
|
||||
schAdd(testSwitchFrequency2, NULL, 10000, 0);
|
||||
schAdd(testSwitchFrequency1, NULL, 15000, 0);
|
||||
inverterStart(1, CLOCKWISE);
|
||||
// schAdd(testSwitchFrequency1, NULL, 5000, 0);
|
||||
// schAdd(testSwitchFrequency2, NULL, 10000, 0);
|
||||
// schAdd(testSwitchFrequency1, NULL, 15000, 0);
|
||||
schAdd(testSwitchFrequency3, NULL, 0, 5000);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user