We are about to switch to a new forum software. Until then we have removed the registration on this forum.
First How to connect the RPI3 with my computer ?.
How to upload the code into my RPI from my computer ?.
I am using RPI library in my processing.
RPI3,
windows 7,
Processing 3.2.3 with installed RPI libs and tools. I got upload to PI option on my tools options.
Answers
Have you got experience with using a RPI3?
Yes. I already used this raspberry pi 3.
Good. Then all you need to do is open up a browser (assuming you have one) on your RPI3, download processing on the RPI3 and write code directly on it.
You can think of communication b/w your RPI3 and main computer later on.
"Upload to PI" streamlines the workflow if you want to code/edit your sketch on your Mac/Win computer and run it on your Raspberry PI -- a handy workflow for installation work. Description/details are in the readme: https://github.com/gohai/processing-uploadtopi/blob/master/README.md
I just got it working from my Mac to my RPI2, so I'll document my steps here:
"Upload to PI" should now find your PI on the network, upload your sketch to your Pi home directory, and start running it on the PI. (Progress will be indicated on the Mac/PC side.) By default, your Pi will now automagically boot directly into the most recently uploaded sketch (also configurable if you don't want that behavior.)
For some reason the upload failed with timeout errors the first time I tried it, but it worked fine the second time. I have an external drive set up on my PI, so it's possible my PI was just sluggish waking up.