first and foremost idk anything relating c++ and usb i/o
i have this water level system proj where there will be 4 levels and 2 outputs to control.
how do i put these into codes for c++ using a usb port module?
wat i mean is the c program would act as the controller to accept the inputs from the levels and also send a corresponding out once the condition is triggered. any help?
idk how to get inputs from the usb port and send outputs there too
what i did on a backup program i wrote was have it place a file in the directory, and if it wasnt there, then the usb wasnt there iether. If the usb was, then it would back it up and remove the test file.
yeah, i thought so... it simply using FILE pointer to check and access the usb drive as the usb drive is actually a partition (virtual?) drive at the computer, so theoretically speaking, we could access the drive even though it wasn't an ordinary drive (which is built-in at the computer physical drive)