Question: please! i need explainations on what are these lines (stared seperately) in a C embedded programme and what they do/mean: *#include hardware.h *using namespace USBDM;
please! i need explainations on what are these lines (stared seperately) in a C embedded programme and what they do/mean:
*#include "hardware.h"
*using namespace USBDM;
Led::setOutput(
*PinDriveStrength_High,
*PinDriveMode_PushPull,
*PinSlewRate_Fast); (what these 3 terms inside the bracket mean?)
Switch::setInput(
*PinPull_Up,
*PinAction_None,
*PinFilter_None); (what these 3 terms inside the bracket mean?)
*bool switchValue = Switch::read();
*Led::write(switchValue);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
