|
AGAIN, your BEST source of information is to ask the people who wrote the library. NOT a bunch of people who have never used it, let alone heard of it.
|
|
|
|
|
thank you i did not read any guide
thanks again
|
|
|
|
|
|
can any one tell me how to transfer file via wifi
|
|
|
|
|
|
first sorry about that
actually i don't get any answer of my question so that's why i am posting the message also....
|
|
|
|
|
If you don't get an answer then it means that no one has the answer. Reposting the same question is not the way to go about it. Try editing the original and adding some more detail about your problem.
Use the best guess
|
|
|
|
|
..and which protocol did you have in mind? "Anything" but TCPIP?
What's wrong with using sockets? In a wifi-network, I'd expect people to use a network-protocol, and TCPIP would usually work with sockets.
Then again, you "could" create webservices and communicate using those. It'd just be a bit overhead.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
This shows that you don't know what WiFi really is. It's a wireless Ethernet interface. It's a carrier or transmitter and receiver of other transport protocols, not an implementation of one. You cannot transmit a file using WiFi.
You have to use an application protocol, like FTP, HTTP, or even a protocol of your own design, transported via another protocol, like TCP/IP, to communicate with another device or computer. Look at what TCP/IP stands for: Transmission Control Protocol/Internet Protocol. It's a transport protocol, not an application protocol.
|
|
|
|
|
how do you control LEDs in C#
|
|
|
|
|
It depends on how the LEDs are connected to your computer. Can you give more detailed information?
|
|
|
|
|
i would like to connect the LEDs by USB.
thanx
|
|
|
|
|
Is the USB going to be recognized as Serial Port on your computer?
|
|
|
|
|
yes...it will...though I have been doing some research and I think a DB25 serial connector will be easier to work with if I use an IC with Darlington pair arrays to interface the PC port and the LEDs.
I now need references.
any help will be highly appreciated.
Regards.
|
|
|
|
|
For how to send commands though a serial inteface I only can refer to one of my article[^]s becausee I have not much expeience with hardware programming. Maybe the manual of the DB25 connector gives you some information.
If you want other opinions you may should ask about experiences with the DB25 connector and the IC you want to use in the Hardware & Device forum[^].
|
|
|
|
|
Considering todays machines are not even coming with serial and parallel ports, you're entire premise of using them is already dead in the water and limited in scope to the lifttime of the hardware that you are currently using.
Since you already know a bit of eletronics, just go with a microcontroller that can run the .NET Micro Framework and be done with it!
Oh! and those can already be programmed over USB using Visual Studio 2008 and up, if not VS2010 and up.
|
|
|
|
|
Don't "bump" your question by re-posting it.
|
|
|
|
|
ooops...i kinda lost the connection so accidentally re-posted.
Apologies
|
|
|
|
|
What have you tried? Need me to link a random tutorial from Google?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
not tried anything yet, been researching on the use of USB and DB25 serial port interfaces and the necessary hardware between the PC and LEDs
|
|
|
|
|
how do you control LEDs in C# That already implied that you imagined that one can hook 'em up easily to an existing port. You'd either dive into Windows 7 "sensor api", or look at an external board.
Go for a Raspberry Pi if you're unsure, it has a GPIO-port and there are some samples to get you started on your own project.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
samweps wrote:
how do you control LEDs in C#
By writing appropriate code for what you want to do.
What did you think the answer was going to be with a question like that??
In all seriousness, if you want to use C#, get a Netduino[^] or a FEZ Panda[^] microcontroller and learn how it's really done, without risking your computers expensive hardware. You'll also learn alot about digital electronics if you really want to teach yourself. Try getting this book[^] or this one[^].
|
|
|
|
|
it depends on what you need , if you have a Com ports you can use it easily with some hardware buffer and amplifier , or you can use any controllers, if you are not familiar with Arduino or PI , try to find a CanaKit board, its very easy and with LED's and Relayed output.
|
|
|
|
|
parallel port(DB25)
breadboard
optoisolator for each of the used lines(ie Protect the PC interface
next a latch (something to hold the data)
drivers (for lighting the lighty things)
opto latch
+Vcc
-----------------
r r r r r r r
e e e e e e e
s s s s s s s
i i i i i i i
db25 s s s s s s s
╔═╗latch sig t t t t t t t
-║-║------| o o o o o o o
║ ║ | r r r r r r r
║ ║ ╔═╗ ╔═╗ ╔═╗ | | | | | | |
-║-║-║o║-║l║----║d║--------------------o----|>-----o
-║-║-║p║-║a║----║r║-----------------o-------|>-----o
-║-║-║t║-║t║----║i║--------------o----------|>-----o
-║-║-║o║-║c║----║v║-----------o-------------|>-----o Ground
-║-║-║ ║-║h║----║e║--------o----------------|>-----o
-║-║-║ ║-║ ║----║r║-----o-------------------|>-----o
-║-║-║ ║-║ ║----║s║--o----------------------|>-----o
╚═╝ ╚═╝ ╚═╝ ╚═╝
each of the lines are attached to a pull up resistor
see C# parallel port programming on Code Project
|
|
|
|
|
hi, I would like directions on how to control LEDs through any ports in C#
|
|
|
|