Skip to main content

New answers tagged

3 votes
Accepted

Class private variable values not accessible in public function

In your configure function: void Motor::Configure(uint16_t inA_pin, uint16_t inB_pin, uint16_t speed_pin, Stream* SerPort) { uint16_t _inA_pin = inA_pin; uint16_t _inB_pin = inB_pin; ...
Delta_G's user avatar
  • 3,370

Top 50 recent answers are included