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
error code when programming
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: error code when programming
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?
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
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.
- Attachments
-
- fc8 build error.pdf
- (38.74 KiB) Downloaded 112 times
-
- pizero accel.fcfx
- (9.57 KiB) Downloaded 116 times
Re: error code when programming
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
Thanks Pete
- Attachments
-
- pizero accel.fcfx
- (9.55 KiB) Downloaded 129 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: error code when programming
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.
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
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
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
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: error code when programming
I think the issue is that you will need to use the Software I2C mode with this Gyro component.