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
LED program locks FC
- CRAIG CHAMBERLAIN
- Flowcode V4 User
- Posts: 24
- Joined: Mon Jun 27, 2011 6:05 am
- Location: Madison Wisconsin
- Has thanked: 6 times
-
- 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
Hi Craig,
This maybe the same issue as:
http://www.matrixmultimedia.com/mmforum ... =29&t=8988
Martin
This maybe the same issue as:
http://www.matrixmultimedia.com/mmforum ... =29&t=8988
Martin
Martin