Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for mahnaz0098

Hello i have a printer cable that i connect to it some LEDs . i want to use CreateFile and WriteFile functions but i don't know that i should use LPT1 and LPT2 or COM1 and COM2 in CreateFile function. h = CreateFile( L"LPT1", // pointer to name of the …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for mahnaz0098

Hello when i use below program to write and read data from USB mass storage device(flash memory) i am getting following error. I've succeeded with usb_bulk_write() but can't utilize usb_bulk_read(). It returns an error. Set configuration usb_bulk_write: 12 bytes written 33 5b 2 1 0 5 1 3 7 f …

0
105
Member Avatar for mahnaz0098

Hello I want to turn on a LED using C, meaning that I want to write on printer port. but the code doesn't work. I use char ledStatus instead of BYTE ledStatus. is there any difference?? what is the problem in this code? #include <windows.h> #include <conio.h> #include <staio.h> #define …

Member Avatar for Ancient Dragon
0
379
Member Avatar for mahnaz0098

hello can any one give me a simple examle code to read and write to serial port? i want to send data to the port and recevie the same. i use visual c++

Member Avatar for Ancient Dragon
0
214