Page 1 of 1
error code when programming
Posted: Tue Oct 20, 2020 7:41 pm
by PeteH
Hi
I was wondering if someone could please help me. I am trying to program a Raspberry Pi zero with a grovePi) hat sat on top and I am getting the following compiler message
C:\Program Files (x86)\Flowcode\Common\Compilers\rpi\batch\rprog.bat reported error code 1
Any help would be really appreciated.
Thanks
Pete
Re: error code when programming
Posted: Wed Oct 21, 2020 8:00 am
by LeighM
Hi Pete,
Could you post/attach the project.msg.txt file?
Have you determined the IP address of the Raspberry Pi and entered this in the project settings dialog screen?
Re: error code when programming
Posted: Wed Nov 25, 2020 9:53 pm
by PeteH
Hi Leigh sorry for the delay juggling too much at the moment this is what I get. I have attached the flowcode file. I am using a Pi zero with a grovePi0 plugged on top with the module.
Re: error code when programming
Posted: Wed Nov 25, 2020 10:34 pm
by PeteH
I have it programming now but I am not convinced it is working. I assume that if I move the module in a certain direction the LED should come on but it is flahing quickly regardless of position could you please suggest anything Leigh?
Thanks Pete
Re: error code when programming
Posted: Thu Nov 26, 2020 10:07 am
by LeighM
Might be worth starting with reading the temperature instead, that should give a more stable output.
Also, there is a "console debugger" component for Raspberry Pi, where you can print out values to a console display.
Just search for debug components to find it.
Re: error code when programming
Posted: Thu Nov 26, 2020 8:41 pm
by PeteH
Hi Leigh
I tried the temp, it simulates Ok but when i try programming the led does not come on. I have done a simple led flasher so I know the pizero is being programmed and working
Re: error code when programming
Posted: Mon Nov 30, 2020 10:09 am
by LeighM
I think the issue is that you will need to use the Software I2C mode with this Gyro component.