I have just flowcoded my first MIAC program and tested it with the simulation built into the latest Flowcode 5 software with no errors. I downloaded the latest USB drivers and connected with no problem. Downloaded the compiled program to the MIAC hardware with no errors. Unfortunately the (my) screen appears but nothing else seems to work - timer etc.
Obviously I am doing something stupid but cant figure out what it might be? Can anyone give me a few pointers please?
I have attached the fcf fyi if that helps?
Regards...jules
MIAC program simulates but wont run on Miac?
-
- Flowcode v5 User
- Posts: 13
- Joined: Mon Apr 26, 2010 8:08 pm
MIAC program simulates but wont run on Miac?
- Attachments
-
- jmiac led grow1.fcf
- (47.77 KiB) Downloaded 347 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: MIAC program simulates but wont run on Miac?
Hi jules,
To get your timer to Run
Double click on your interrupt component.
Select properties.
Change Clock Source select from 'Transition on T0CKI' pin to' Internal clock'
Unfortunately the simulator does not take that setting into account
If you want a more accurate clock and the Day of the week to automatically be displayed, then go to:
http://www.matrixmultimedia.com/mmforum ... 19&#p43119
and scroll down to my second post.
Martin
That always helps.juliansilver wrote:I have attached the fcf fyi if that helps?

To get your timer to Run
Double click on your interrupt component.
Select properties.
Change Clock Source select from 'Transition on T0CKI' pin to' Internal clock'
Unfortunately the simulator does not take that setting into account

If you want a more accurate clock and the Day of the week to automatically be displayed, then go to:
http://www.matrixmultimedia.com/mmforum ... 19&#p43119
and scroll down to my second post.
Martin
Martin
-
- Flowcode v5 User
- Posts: 13
- Joined: Mon Apr 26, 2010 8:08 pm
Re: MIAC program simulates but wont run on Miac?
AHHHH! Thanks Martin. I was sure it was something stupid I was doing. I will try that out tomoz and update this post accordingly. Cheers jules
-
- Flowcode v5 User
- Posts: 13
- Joined: Mon Apr 26, 2010 8:08 pm
Re: MIAC program simulates but wont run on Miac?
Yep. Changing the clock source for TMR0 worked a reat. Many thanks Martin.
Regds...j
Regds...j
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: MIAC program simulates but wont run on Miac?
Your welcome jules.
Just glad your all sorted.
Thanks for the update
Martin
Just glad your all sorted.
Thanks for the update
Martin
Martin