9 years, 2 months ago.

u Heater.h je driver definiran kao digitalOutPin ,dok je u Heater.cpp kao pwmoutPin. Greška ili ?

/media/uploads/mmatausic/heater2.png /media/uploads/mmatausic/heater1.png

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.