When can I register for the exam. Can we register for the exam whenever we are ready or is there a specific date in which we should appear for the exam?. Can I get the complete details about this.
analogWrite(fwdbuttonState == LOW ? ICpin2 : ICpin7, motorValue); digitalWrite(fwdbuttonState == LOW ? ICpin7 : ICpin2, motorValue);kindly give explanation for these two lines, how can we change directions we have not used bckbuttonState variable.
At time 9: 30 in the tutorial the input to the Function map (potvalue, 0,1023,0,255) is not explained. and At time 9: 45 in the tutorial the input to the Function analogWrite (fwdbuttonState == Low ? ICpin2: ICpin7,motorvalue); digitalWrite (fwdbuttonState == Low ? ICpin2: ICpin7,motorvalue);is not explained properly..Thanks!
analogWrite(fwdbuttonState == LOW ? ICpin2 : ICpin7, motorValue);in above line how motor value (digital value) can be written by analogWrite cammond?also in video two line are as analogWrite(fwdbuttonState == LOW ? ICpin2 : ICpin7, motorValue);digitalWrite(fwdbuttonState == LOW ? ICpin7 : ICpin2, motorValue);whereas in source code lines are as analogWrite(fwdbuttonState == LOW ? ICpin2 : ICpin7, motorValue);digitalWrite(fwdbuttonState == LOW ? ICpin7 : ICpin2, LOW);why discrepancy like this ?also why you have used analogWrite in above line and digitalWrite in below line? why it is not digitalWrite in both lines?relpy soon...
Would you please explain the if condition of the program and why was it used? Also why we are using digitalWrite in the conditional loop and also what does "if fwdbuttonstate==LOW?ICpin2" and "if fwdbuttonstate==LOW?ICpin7" means??
In the if statements there r two functions analogwrite() & digital(), analogwrite() is to power up the selected icpin2/7 depending on the conditional logic, with motor value but idint understand why u r using digital wrte()
Sir,I have a small doubt that can we give the potentiometer value through arduino code itself instead of rotating the knob of potentiometer. If so please let me know.
15586 visits
Outline:About Pulse Width Modulation About duty cycle and frequency Formula to calculate the duty cycle Experiment to control the brightness of LED by varying the duty cycle Experiment to control the speed and direction of a DC motor Circuit connection explanation of the above experiments Live setup of the connection Source code for the above experiments Compile and upload the program Demonstration of the output
About Pulse Width Modulation About duty cycle and frequency Formula to calculate the duty cycle Experiment to control the brightness of LED by varying the duty cycle Experiment to control the speed and direction of a DC motor Circuit connection explanation of the above experiments Live setup of the connection Source code for the above experiments Compile and upload the program Demonstration of the output
Show video info
Pre-requisite