Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 2 months ago.
u Heater.h je driver definiran kao digitalOutPin ,dok je u Heater.cpp kao pwmoutPin. Greška ili ?
1 Answer
9 years, 2 months ago.
Not a problem. The "name" that you see is not a pin-type declaration. It is just a variable name which is used to represent the physical pin number.
The actual pin-type will be declared in the "driver" routine.