File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 65
65
ch4.enable();
66
66
```
67
67
68
- All three pins will output a 50hz period. gpioa:: PA6 and PB4 will share a
68
+ All three pins will output a 50hz period. PA6 and PB4 will share a
69
69
duty cycle, but the duty cycle for PB1 can be controlled
70
70
independently.
71
71
72
72
```
73
- // Affect gpioa:: PA6 and PB4
73
+ // Affect PA6 and PB4
74
74
ch1.set_duty_cycle(1000);
75
75
76
76
// Affect only PB1
146
146
.output_to(pa8);
147
147
```
148
148
149
- Once we've connected a complementary pin (gpioa:: PA7) we are now _only_
150
- allowed to use other complementary pins. gpioa:: PA8 is a valid choice if
151
- we have no pins in use, but it cannot be used once we've used gpioa:: PA7.
149
+ Once we've connected a complementary pin (PA7) we are now _only_
150
+ allowed to use other complementary pins. PA8 is a valid choice if
151
+ we have no pins in use, but it cannot be used once we've used PA7.
152
152
*/
153
153
154
154
use crate :: {
You can’t perform that action at this time.
0 commit comments