RasPiArduino icon indicating copy to clipboard operation
RasPiArduino copied to clipboard

No command lines are shown when i click the verify button in Arduino IDE

Open Algorithmss opened this issue 9 years ago • 16 comments
trafficstars

I did everything like you told me too in the video but when i click verify everything load even the green bar but there are no command line in the terminal box like yours

Algorithmss avatar Jun 19 '16 08:06 Algorithmss

You need to enable verbose compilation in ArduinoIDE settings. screen shot 2016-06-19 at 11 08 56

me-no-dev avatar Jun 19 '16 08:06 me-no-dev

And also can you help me with this error?

exec: "C:\Program Files (x86)\Arduino\hardware\RaspberryPi\piduino/tools/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++": file does not exist

Algorithmss avatar Jun 19 '16 08:06 Algorithmss

capture I got it to work once then i copied the bin file into my raspberry pi but it says that i cannot run it, it shows me " command not found " error

Algorithmss avatar Jun 19 '16 08:06 Algorithmss

do you have the toolchain installed on your computer? If you do and you build, you can export the binary to the sketch folder, then copy to the py, make it executable (chmod +x your_file.bin), then run it like above (it has to be executable for that command to work)

me-no-dev avatar Jun 19 '16 09:06 me-no-dev

Okay thanks, let me try that method out :)

Algorithmss avatar Jun 19 '16 09:06 Algorithmss

Thanks it works... :D but it just keep on looping and looping and it goes on and on and i can't make it stop

Algorithmss avatar Jun 19 '16 09:06 Algorithmss

that is how an arduino sketch works :) Ctrl+C to stop it

me-no-dev avatar Jun 19 '16 09:06 me-no-dev

if you follow the readme and do the modifications on the PI, you will be able to upload directly from the PC and the service will take care of killing the previous sketch

me-no-dev avatar Jun 19 '16 09:06 me-no-dev

Yup i want to do that too, i will try it out. And also, i can just write the code down in Arduino language right? Or is there a difference?

Algorithmss avatar Jun 19 '16 09:06 Algorithmss

no difference :) it is arduino framework. so Wire, SPI and all is there for you to use. Most sketches require usually only pin change for them to work on the Pi

me-no-dev avatar Jun 19 '16 11:06 me-no-dev

Oh okayy sounds great, Thanks for the help Mr. I am new to all this and i want to try out projects :)

Algorithmss avatar Jun 19 '16 13:06 Algorithmss

Oh and is there any chance i can use this with Blynk app? If yess tell me how :) Thanks x)

Algorithmss avatar Jun 19 '16 16:06 Algorithmss

what is Blynk app?

me-no-dev avatar Jun 19 '16 16:06 me-no-dev

It is basically like a remote app that control your devices, from the app. http://www.blynk.cc/ here's the link to the app website. I am bad at explaining so wanna check it out? it is really cool

Algorithmss avatar Jun 19 '16 16:06 Algorithmss

Ohh also, when i installed this, does it still function as a normal Raspberry Pi? Like can i put others code in? or like add some git code inside?

Algorithmss avatar Jun 20 '16 15:06 Algorithmss

yes, it's just another program that runs on your PI :) you can still use it as a linux box or whatever you want. Just keep in mind to not use the GPIO pins for anything else while the sketch is running, because it controls the whole pinout

me-no-dev avatar Jun 21 '16 09:06 me-no-dev