Go Down

Topic: Arduino Radar Project Problems (Read 130 times) previous topic - next topic

TheOneDarkEye

Hey guys, I'm new to Arduino and I'm doing a project at school making an Arduino radar. I've found some code for the project but the maker made his own function called "pushMatrix"...
When compiling the code it says 2 error messages.
• 'pushMatrix' was not declared in this scope
• 'pushMatrix' cannot be used as a function

Does anyone know why this happens or how to fix it??
There are many different piece of code required for the project, so here's the link to the website I used...

https://howtomechatronics.com/projects/arduino-radar-project/


groundFungus

The pushMatrix function is part of the Processing code for visualizing the data on the PC, it is not Arduino code.  If you scroll down the page the complete Processing code is given.

TheOneDarkEye

Where do I put the processing code if it is not Arduino?? Is there another program or website I type it into??

AWOL

Where do I put the processing code if it is not Arduino?? Is there another program or website I type it into??
Processing runs on the PC.
It's Java.
"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

TheOneDarkEye

So PDE would run processing code??

AWOL

"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

groundFungus

I linked the Processing web site.  If you go there you can learn all about Processing.

Processing runs PDE files.

TheOneDarkEye

So...
PDE is its own coding language...
Arduino is its own code an it uses the Arduino program to run it. What would I use to run PDE??





This is very confusing...

AWOL

#8
Oct 16, 2018, 10:12 pm Last Edit: Oct 17, 2018, 10:05 am by AWOL
Quote
PDE is its own coding language
No, PDE is a file extension.
The file contents are Java.

Java runs on a Java-capable platform, like a PC.
"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

Go Up