How do I make it so in the serial monitor I can type start or stop and have a dc motor spin or not spin lol, I see 200 million tutorials everywhere that are like hook up IC's and diode's and everything in existence just to have a DC motor turn on and off none that are like type start in serial to tell the arduino to turn that on.. nothing like that for some reason.
|
C#
Simple arduino DC motor, |
|
If you are talking about communicating through serial ports, I made a tutorial here on HF quite a while ago.
https://hackforums.net/showthread.php?tid=2051683 Is this what you are looking for?
Well, I mean, the only lines of real importance that I see in the c# are the following:
Code serialPort1.Open();(Jun 23, 2016 05:00 AM)Coffee is love Wrote: YES Peefer, that is what I mean't lol I had the rest down just didn't know how to be like hey light1 via serial to have it work Glad to help! |
|
|


