Size: 1740
Comment:
|
Size: 1759
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 19: | Line 19: |
When you create an instance of the AdMoVeo class in the "void setup" before calling the function "size(x,y)" this error message can appear. To solve this place the line with the "size()" funtion as first thing in your "void setup". | When you create an instance of the AdMoVeo class in the "void setup" before calling the function "size(x,y)" this error message can appear. To solve this place the line with the "size()" function as first thing in your "void setup". |
Line 22: | Line 22: |
void setup{ size(400,400); admoveo = new AdMoVeo(this, "COM5"); } |
''void setup{'' ''size(400,400);'' ''admoveo = new AdMoVeo(this, "COM5");'' ''}'' |
1. Frequently Asked Questions
Contents
1.1. Installation
1.1.1. Question
Answer
1.2. Processing Language
1.2.1. Is it possible to use Processing to program my mobile phone ?
Yes, if your phone can run Java MIDlets. see Mobile Processing.
1.3. Serial communication
1.3.1. When starting my processing sketch it takes forever to establish serial communication. Whats up?
When starting serial communication, all serial ports of your notebook / PC are queried. Some of them (usually the Bluetooth related ones) are quite slow. Uninstalling these ports or disabling them using the device manager of windows will probably solve the problem. Note: not all serial ports are listed in the "Ports (COM & LPT)" section of the device manager. Some of them could be under e.g. "Modems"...
1.4. Programming AdMoVeo
1.4.1. When running a program I get the error message: gnu.io.PortInUseException: Unknown Application _at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)
When you create an instance of the AdMoVeo class in the "void setup" before calling the function "size(x,y)" this error message can appear. To solve this place the line with the "size()" function as first thing in your "void setup".
For example:
void setup{
size(400,400); admoveo = new AdMoVeo(this, "COM5");
}
1.5. Other Questions
1.5.1. Ah? I don't get it
Alright. Try to read it again. Follow the instruction carefully.
1.5.2. I still don't get it
That is fine. Bring the question to student assistants. The student assistants will help you out, or they will bring your questions to the lecturers.