LED program locks FC

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
User avatar
CRAIG CHAMBERLAIN
Flowcode V4 User
Posts: 24
Joined: Mon Jun 27, 2011 6:05 am
Location: Madison Wisconsin
Has thanked: 6 times

LED program locks FC

Post by CRAIG CHAMBERLAIN »

I was doing the LED exercise in the intro course.
Trying to run a program to display 1234.

This would instantly lock the program, and could only be shut down by
ctr-alt-del, and cancelling in "applications running". Sometimes only resetting the computer.

I simplified to a single digit, and it does display, on the Sim anyway.

With 2 digits, the attached .fcf will run very erratically on the Sim.
and *similarly* on my QL200.
When I slowed down the program, even to 1 Hz, it would not jump from
command to command consistently, and would skip over commands.
But always stayed in the loop.


With 3 digits, it locks up.

I have my QL200 set up so that it can run the code in the instructional manual.
That is, Port A is connected to the LED's through the supplied switches.
On the board, it is set up to switch in Port D for the A-G segments, and DP.
I switched those off and connected in Port B.

The configuration word is the same as on my working programs, including an LCD
display. WDT, BOD, LVP, etc are all off. The crystal is set for the appropriate 4MHZ.

Ideas? Thanks,
Craig
Attachments
LED 4 SEGMENTS.fcf
(5 KiB) Downloaded 226 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: LED program locks FC

Post by medelec35 »

Hi Craig,
This maybe the same issue as:
http://www.matrixmultimedia.com/mmforum ... =29&t=8988

Martin
Martin

Post Reply