I have just bought an Arduino Uno and I am currently trying to make a flashing LED. I was wondering how I could do this, and I have looked at the Arduino Playground and have found a program to get input. I need to output to the Arduino. It is not possible for me to use anything but Java because I already have another program that requires an Arduino. Please leave any ideas.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
EDIT: Kind of sounds like you want to do this in java.
And excerpt from the site mentioned by jayeff:
If you're trying to use Java to write to the Arduino, then this is your answer.
http://arduino.cc/playground/Interfacing/Java
EDIT: If you want to use something other than Java, here you go:
Ask and you shall receive. You can do this in any programming language that has serial support.
There are certainly other methods for each language, but here are some I found in 5 minutes at the Google Machine
Note: Watch out for the nasty Auto Reset on Serial issue. See my previous answer for more details on that.
Here's my C++ Code (it's ugly but it works)