We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have managed to programme an arduino motion sensor with a radar display, however the display is too big for the screen when it is run and only a quarter of the display is visible. I sourced the code for the processing side of the system online so i'm stuck as what to do.
If anyone is able to help it would be greatly appreciated.
Answers
Hoping no pushMatrix()/popMatrix() will cause trouble, just add
scale(0.5);
to the start of your code for draw(), and multiply the parameters to size() by 0.5.scale()
Note: Remember that if your code inside draw is based on the size of the sketch (i.e uses width and height), you just need to change the arguments to the size() function.
My code has got pushMatrix()/popMatrix(), where should the scale(0.5); be placed as it threw up a problem further down?
Since you anyway got the code from the Internet, can you give it to us? Maybe it will help me figure out what to do?
I found a solution to the problem, but thank you for your help
Can you please post the solution here so that others can benefit? Thanks in advance.
The original creator updated the file to allow the screen to fit any resolution size computer rather than having to manually resize every part of the code to fit the screen. http://howtomechatronics.com/projects/arduino-radar-project/ heres the link to it! Hope it helps!
Oh, I see,