Simple flash LED

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

Moderator: Benj

Post Reply
KrisJeff
Flowcode v5 User
Posts: 25
Joined: Sun Feb 01, 2009 5:32 pm
Location: Albox, Almeria, Spain.
Has thanked: 4 times
Contact:

Simple flash LED

Post by KrisJeff »

Using BL-80 Multiprogrammer with BL114 Combo Board. Used Flowcode 5 & 6 in the past but not for about 18 months. Decided to get back to Flowcode due to recent retirement and move to Spain. Invested in Flowcode 8 and several new F8 Boards. Tried to get some of my older programs working using the new F8 but with no success. Had driver probs, sorted but still no go? I thought I would go right back to basics and start afresh. Programmed a simple flash led. This will not work? I've checked and re-checked everything? Other simple input to outputs seem to work but not the simple flash led?

This is pretty basic stuff but I'm buggered if I can get it to work? Anyone any ideas? If I cant get something this simple to work I've no chance with anything sophisticated ?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Simple flash LED

Post by Benj »

Hello,

Sorry to hear you are having problems. Hopefully we can get you up and running with your new kit. Congrats on the retirement and move :D

An easy way to setup your project is to click on File -> Open Template -> E-blocks2 -> BL0080_Combo. This will get all the settings right for you.

Creating a new project using the PIC -> Misc -> BL0080 target will also auto setup everything for you but won't auto add the combo board component.

Here is a demo LED flash routine as a sanity check.
https://www.matrixtsl.com/wiki/index.ph ... ED_flasher

There are some examples here that will help with ADC and the 7seg.
https://www.matrixtsl.com/eblocks/resources/

The getting started guide here may be useful for you.
https://www.matrixtsl.com/flowcode/support/

If you can attach your Flowcode project then we can see what you're doing and hopefully help to point you in the right direction.

KrisJeff
Flowcode v5 User
Posts: 25
Joined: Sun Feb 01, 2009 5:32 pm
Location: Albox, Almeria, Spain.
Has thanked: 4 times
Contact:

Re: Simple flash LED

Post by KrisJeff »

Dear Benj,
Thank you. I can see where I went wrong. However, 2 Port A outputs faulty on my combo board which also led me up the garden path?
This is a new board, do I need to return, and do I need any return paperwork/code?

Thanks once again I will now get some sleep tonight.

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

Re: Simple flash LED

Post by medelec35 »

Hi Kris,
Before you sort out sending the board back, Can you make sure the xtal switch is in the A6 & 7 position and ANA/DIG switch in the DIG position.
Then use the attached flowchart.
I'm guessing you believe its A6 and A7 not working?
If so they are used for the crystal connections, So will only work if using internal oscillator only.
Attachments
BL114.fcfx
(7.66 KiB) Downloaded 203 times
Martin

KrisJeff
Flowcode v5 User
Posts: 25
Joined: Sun Feb 01, 2009 5:32 pm
Location: Albox, Almeria, Spain.
Has thanked: 4 times
Contact:

Re: Simple flash LED

Post by KrisJeff »

OK, I see. Thank you very much.

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

Re: Simple flash LED

Post by medelec35 »

Your welcome.
I assume all the led's on port a are now working?
I also have BL-80 Multiprogrammer with BL114 Combo Board.
So if you stuck then I will see if I can help.
All the best.
Martin

Post Reply