error code when programming

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
PeteH
Posts: 5
Joined: Sun Dec 19, 2010 12:53 pm
Contact:

error code when programming

Post 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

User avatar
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

Post 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?

PeteH
Posts: 5
Joined: Sun Dec 19, 2010 12:53 pm
Contact:

Re: error code when programming

Post 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.
Attachments
fc8 build error.pdf
(38.74 KiB) Downloaded 112 times
pizero accel.fcfx
(9.57 KiB) Downloaded 116 times

PeteH
Posts: 5
Joined: Sun Dec 19, 2010 12:53 pm
Contact:

Re: error code when programming

Post 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
Attachments
pizero accel.fcfx
(9.55 KiB) Downloaded 129 times

User avatar
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

Post 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.

PeteH
Posts: 5
Joined: Sun Dec 19, 2010 12:53 pm
Contact:

Re: error code when programming

Post 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

User avatar
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

Post by LeighM »

I think the issue is that you will need to use the Software I2C mode with this Gyro component.

Post Reply