Search found 69 matches

by gtc
Tue Jul 04, 2017 12:26 pm
Forum: General Programming
Topic: Illuminated push button object
Replies: 5
Views: 6338

Re: Illuminated push button object

Hi Ben, any progress on this?
by gtc
Wed May 24, 2017 4:13 pm
Forum: General Programming
Topic: Trying to use API Sound.Play
Replies: 2
Views: 3797

Re: Trying to use API Sound.Play

Mine is a valid .wav file, but I tried your TETRIS.WAV as suggested and it doesn't play either.

Your code uses simulation and component macros.

The User Guide implies that all I need to use is a calculation. Is the UG incorrect, or do I simply not understand how to use API stuff?
by gtc
Wed May 24, 2017 3:26 pm
Forum: General Programming
Topic: Trying to use API Sound.Play
Replies: 2
Views: 3797

Trying to use API Sound.Play

I wish to play a bell sound, using file bell.wav For this API the user guide says ... Calling in a calculation Declare a variable 'result' of type BOOL Add to a calculation icon: result = ::Sound.Play("filename") I have done that, but I get no sound played, and the result variable's value is True, e...
by gtc
Wed May 24, 2017 4:04 am
Forum: General Programming
Topic: How do I simulate an abort/halt?
Replies: 2
Views: 3930

Re: How do I simulate an abort/halt?

Good idea. Many thanks.
by gtc
Tue May 23, 2017 4:17 am
Forum: General Programming
Topic: How do I simulate an abort/halt?
Replies: 2
Views: 3930

How do I simulate an abort/halt?

(Version 6.1.3.2) My application has an emergency STOP button and I need the program to abort upon pressing of that button. I have INT0 on the chip assigned to the STOP button and a small interrupt routine associated with it. To avoid having to test an interrupt status flag in many places throughout...
by gtc
Mon May 22, 2017 4:33 pm
Forum: General Programming
Topic: Illuminated push button object
Replies: 5
Views: 6338

Re: Illuminated push button object

Thanks for the reply. In reality, such buttons come in two kinds: those where the LED (or neon) is internally wired to the switch so that it signals the switch's status as on of off, and those where the LED is independent of the switch and can be wired to signal the status of the switch or the statu...
by gtc
Mon May 22, 2017 2:26 pm
Forum: General Programming
Topic: Illuminated push button object
Replies: 5
Views: 6338

Illuminated push button object

Has anyone developed an illuminated version of the panel push button object? Especially, one that can be set to any color in the palette? Real world example: https://www.digikey.com/-/media/Images/Product%20Highlights/E/E-Switch/Switch%20Solutions/66.jpg?la=en-FI&ts=95eb54f8-4d1a-40fc-b759-7b745d3ee...
by gtc
Wed Jun 29, 2016 3:51 pm
Forum: General Programming
Topic: Flowcode V7
Replies: 122
Views: 372002

Re: Flowcode V7

Steve wrote:I've just checked and that was fixed in v6.1.3 of Flowcode. It also works fine in v7.
Thanks!

Haven't fired up FC for a while so didn't realize that 6.1.3 was available.
by gtc
Wed Jun 29, 2016 12:45 pm
Forum: General Programming
Topic: Flowcode V7
Replies: 122
Views: 372002

Re: Flowcode V7

Is there anything in particular you would like to see relating to the simulation? Would like confirmation that the bug associated with breakpoints not being honored in simulation has been fixed. It has been reported here: https://www.matrixtsl.com/mmforums/viewtopic.php?f=59&t=16688 ... and should ...
by gtc
Tue Jun 28, 2016 10:50 am
Forum: General Programming
Topic: Flowcode V7
Replies: 122
Views: 372002

Re: Flowcode V7

Revamping look and feel is fine, as long as you have fixed the reported bugs in V6, especially those related to simulation.
by gtc
Tue Jun 21, 2016 4:47 pm
Forum: General Programming
Topic: Flowcode V7
Replies: 122
Views: 372002

Re: Flowcode V7

Steve wrote:We're looking into that issue with ICD breakpoints at slower sim speeds and hope to resolve it for the release.
That issue is a biggie with me, too. As I've said in relation to it: a key reason for using FC is its simulation capability. For me, it's paramount that simulation work properly in V7.
by gtc
Tue Jun 14, 2016 11:23 am
Forum: General Programming
Topic: Flowcode V7
Replies: 122
Views: 372002

Re: Flowcode V7

Thanks Ben, that's some list!

In the past, apart from 10F2xx, I've been snookered by lack of support for 12F5xx and 16F5xx chips. Those are in your mega list, so I'm happy for now. :D
by gtc
Tue Jun 14, 2016 7:48 am
Forum: General Programming
Topic: Flowcode V7
Replies: 122
Views: 372002

Re: Flowcode V7

At the other end of the spectrum, I'm looking forward to a return of FC support for the PIC 10F2xx line, so please ensure that's in place from day 1.
by gtc
Thu Jun 09, 2016 4:19 pm
Forum: General Programming
Topic: Flowcode V7
Replies: 122
Views: 372002

Re: Flowcode V7

Great news, especially the adoption of the XC compiler! Good riddance to Error Code 1 messages.

Is this an upgrade for V6 users, or do we have to repurchase the product?
by gtc
Tue Feb 16, 2016 1:29 pm
Forum: General Programming
Topic: Assembler variable values such as 'outdir'
Replies: 5
Views: 9079

Re: Assembler variable values such as 'outdir'

I take it you mean View -> Global Options -> Locations Tab (as before).

So, one uses the "..." button to select the desired directory. I'll try that when I next have access to his machine.
by gtc
Tue Feb 16, 2016 12:33 pm
Forum: General Programming
Topic: Assembler variable values such as 'outdir'
Replies: 5
Views: 9079

Re: Assembler variable values such as 'outdir'

Thanks for the lightning quick reply! I don't recall setting my outdir value, unless it was done during initial installation? Reason I ask is that I was using a friend's FC V6 implementation today and the hex file was being written into some bizarre windows temp directory. I have no idea how that ca...
by gtc
Tue Feb 16, 2016 12:18 pm
Forum: General Programming
Topic: Assembler variable values such as 'outdir'
Replies: 5
Views: 9079

Assembler variable values such as 'outdir'

Using Windows, Flowcode 6.1.

Where can I see the current value of an assembler variable such as 'outdir'.

Also, where in Flowcode are such variables' values set/mapped/changed?
by gtc
Tue Oct 06, 2015 12:21 pm
Forum: Feature requests
Topic: Please add 8000000 (8MHz) Clock Speed
Replies: 1
Views: 2805

Please add 8000000 (8MHz) Clock Speed

Please add 8000000 (8MHz) to the Clock Speed drop down list in Program Options --> General Options

Sure, it can be typed in but it's a very common speed for PICs and should be in the list already.
by gtc
Tue Oct 06, 2015 8:31 am
Forum: Bug reports
Topic: PIC12F508 -- trivial program fails to compile to hex
Replies: 2
Views: 3621

Re: PIC12F508 -- trivial program fails to compile to hex

Hello, The BoostC compiler we are using does not currently support the 12F5xx and 16F5xx devices which is why your getting compilation errors. Bummer. I'm trying to do a like-for-like on this job. We have a plan in motion to support more of the PIC range of devices and so hopefully we will have a w...
by gtc
Sun Oct 04, 2015 4:32 pm
Forum: Bug reports
Topic: Breakpoints in simulation mode
Replies: 3
Views: 4532

Re: Breakpoints in simulation mode

Hi Ben,

This simulation defect is driving me crazy. Just wondering if it has been progressed through to a fix yet?
by gtc
Sun Oct 04, 2015 3:34 pm
Forum: Bug reports
Topic: PIC12F508 -- trivial program fails to compile to hex
Replies: 2
Views: 3621

PIC12F508 -- trivial program fails to compile to hex

Similar problem to the one I reported here:

http://www.matrixtsl.com/mmforums/viewt ... 59&t=16833

Don't know what you guys did to fix the 12F609 chip config file, but it seems the same needs to be done for the 12F508 and maybe also for its cousins 12F509 and 16F505.
by gtc
Sun Sep 27, 2015 4:04 pm
Forum: General Programming
Topic: osccon statement causes compile to hex failure
Replies: 2
Views: 4055

Re: osccon statement causes compile to hex failure

Thanks, that would explain it. :D

Guess I'm too used to PIC16F chips!
by gtc
Sun Sep 27, 2015 3:26 pm
Forum: General Programming
Topic: osccon statement causes compile to hex failure
Replies: 2
Views: 4055

osccon statement causes compile to hex failure

Flowcode v6.1.2.0 Chip: PIC 12F617 (Internal 4/8MHz oscillator) Adding the C code: osccon = 0x70; // 8MHz clock speed ... causes the BoostC compiler to fail with the infamous and always unhelpful "error code 1" message. The osccon statement is being inserted correctly into the generated C code. If I...
by gtc
Mon Sep 21, 2015 3:51 pm
Forum: Bug reports
Topic: Bugs and Issues List, please
Replies: 2
Views: 3559

Re: Bugs and Issues List, please

Thanks for the reply. The main problem with such systems is that if people can report a bug then they will, in most cases without checking if the bug is already on the list and if what they are seeing is even a bug. Yes, it can become a bit circular in that regard, but I have seen it used to good ef...
by gtc
Mon Sep 21, 2015 3:29 pm
Forum: Bug reports
Topic: Bugs and Issues List, please
Replies: 2
Views: 3559

Bugs and Issues List, please

I believe it would be a very useful aid to Flowcode users if Matrix would maintain on this site a list of reported bugs and issues, along with their status, updated periodically. Status typically includes: fixed in the next release/under investigation/workaround published/ etc, etc. Such a list (a) ...