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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!