me-no-dev / RasPiArduino

Arduino Framework for RaspberryPI
332 stars 75 forks source link

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

Open Algorithmss opened 8 years ago

Algorithmss commented 8 years ago

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

me-no-dev commented 8 years ago

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

Algorithmss commented 8 years ago

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 commented 8 years ago

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

me-no-dev commented 8 years ago

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)

Algorithmss commented 8 years ago

Okay thanks, let me try that method out :)

Algorithmss commented 8 years ago

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

me-no-dev commented 8 years ago

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

me-no-dev commented 8 years ago

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

Algorithmss commented 8 years ago

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?

me-no-dev commented 8 years ago

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

Algorithmss commented 8 years ago

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

Algorithmss commented 8 years ago

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

me-no-dev commented 8 years ago

what is Blynk app?

Algorithmss commented 8 years ago

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 commented 8 years ago

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?

me-no-dev commented 8 years ago

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