Questions!

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Questions!

Post by nnnnff »

I'm using the "CAN", discovered a problem, as long as "CAN Init" later, the simulation is possible. But after downloaded to the chip can't normal operation! Even reset also can't run. For example a flash。Please help me!
Attachments
led flash.fcf
(7.5 KiB) Downloaded 275 times

nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times

Re: Questions!

Post by nuwan5213 »

hi nnnff,
try to increase the delay time more than 100ms.

i mean 500ms may be 1s.
in real world i think you cant see 100ms .because your eye is not response.
can int is not the problem.
regards.
nuwan..
Electronics for better world.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Questions!

Post by DavidA »

Hi,

This is working as intended, the CAN Init function has a while loop in it that waits for a valid CAN return message before it moves out of the initialiser icon, so, in other words, dont use CAN Init unless you are in a valid CAN network :)

nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: Questions!

Post by nnnnff »

DavidA wrote:Hi,

This is working as intended, the CAN Init function has a while loop in it that waits for a valid CAN return message before it moves out of the initialiser icon, so, in other words, dont use CAN Init unless you are in a valid CAN network :)
Thank you very much! :D

Post Reply