Search found 67 matches

by alanwms
Fri Mar 15, 2019 8:22 pm
Forum: Flowcode V7
Topic: Interrupt difficulies pic18f2553
Replies: 3
Views: 3560

Interrupt difficulies pic18f2553

Hello, Can you direct me to resolve this? I can't seem to change the interrupt properties.
by alanwms
Tue Mar 12, 2019 3:39 am
Forum: Flowcode V7
Topic: Pic18f2553
Replies: 2
Views: 2537

Pic18f2553

Not sure, but I think I see a discrepancy for AN11 in the flowcode7 versus the data from Microchip. Can you verify and let me know if picking AN11 works even if it is suggesting the wrong pin?
Am I missing something?

Regards

AW :D
by alanwms
Fri Sep 14, 2018 3:09 pm
Forum: Flowcode V7
Topic: PIC18f2553 RA6
Replies: 4
Views: 3600

Re: PIC18f2553 RA6

I renamed the old file, and copied your file into the directory. Relaunched FC7 and now I get to select A6 as an output.

Thanks for this.
by alanwms
Fri Sep 14, 2018 3:02 pm
Forum: Flowcode V7
Topic: PIC18f2553 RA6
Replies: 4
Views: 3600

Re: PIC18f2553 RA6

I will look into doing that over the weekend, can I instead change the icon code to reflect the port number?
by alanwms
Fri Sep 14, 2018 12:54 am
Forum: Flowcode V7
Topic: PIC18f2553 RA6
Replies: 4
Views: 3600

PIC18f2553 RA6

Could you help me with - The data manual for the pic18f2553 indicates that RA6 is I/O for general purpose I/O. When I try to output to that pin, only 0 through 5 are in the selection. I'm using internal oscillators, and tried multiple selections (I think there are only 4). Can you direct me? Is this...
by alanwms
Thu Sep 13, 2018 8:08 pm
Forum: Flowcode V7
Topic: Pic18f2553 Port C problems
Replies: 1
Views: 2358

Re: Pic18f2553 Port C problems

Never mind - Those port C pins are input only, although FC7 allows me to select those pins as outputs even though they are not available as outputs.
by alanwms
Thu Sep 13, 2018 4:59 pm
Forum: Flowcode V7
Topic: Pic18f2553 Port C problems
Replies: 1
Views: 2358

Pic18f2553 Port C problems

Gents - I,m having an issue with port C bits 4, 5, and 7. Currently using bit 6 as TX for display - Works fine Bits 0 - 2 as I/o work fine Can't get bits C4, C5, C7 to switch on as outputs and simply trying to beep with C4 Tried new chip, attempted different configurations for the osc - Currently us...
by alanwms
Wed Dec 20, 2017 10:06 pm
Forum: Bug reports
Topic: Macro Colors
Replies: 3
Views: 4247

Macro Colors

Copy/Paste of component icons does not transfer the modified color palette
by alanwms
Wed Dec 20, 2017 10:00 pm
Forum: Bug reports
Topic: Macro Colors
Replies: 3
Views: 4247

Icon Colors

FC7 copy and paste does not maintain the modified color pallet. Might be worthwhile changing for the next rev level:
by alanwms
Wed Dec 20, 2017 9:57 pm
Forum: Flowcode V7
Topic: Rotary encoder: 4 counts per click?
Replies: 2
Views: 2509

Re: Rotary encoder: 4 counts per click?

The reason it is called a "quad" encoder, is because it counts the state change of each edge. Since there are 4 edges per cycle, that would equate to 4 counts per "count". Your encoder is probably mechanically indented creating the sine and cosine signal. For a no indented encoder (such as on a moto...
by alanwms
Mon Nov 20, 2017 5:36 am
Forum: Programming Tips & Tricks
Topic: Sine & Cosine Calculator
Replies: 10
Views: 17776

Re: Sine & Cosine Calculator

I'm presuming that the use for this is to produce digital a sine output with ports connected to d/a converters? Another way to produce a sine is to use a 2r2 resistor network connected to the port(s). Then a simple triangle wave (linear increase and decrease) will produce a nice sine wave with an ad...
by alanwms
Mon Nov 20, 2017 5:17 am
Forum: Flowcode V7
Topic: Analog Component Error
Replies: 3
Views: 2836

Re: Analog Component Error

Two channels were assigned to An3 (one was flow - which was mine) one of those channels automatically has some "pot_chicken_Pie" name which was confusing. I had added a different one (flow), and subsequently removed pot_chicken_whatsit due to your suggestion. Problem solved. The help button takes me...
by alanwms
Fri Nov 17, 2017 11:14 pm
Forum: Flowcode V7
Topic: Analog Component Error
Replies: 3
Views: 2836

Analog Component Error

The error below comes up when compiling to hex. The program works fine, and the component pins ARE actually connected. Is there an explanation for this?
analog Error.jpg
analog Error.jpg (45.07 KiB) Viewed 2836 times
by alanwms
Sun Nov 12, 2017 1:26 am
Forum: Programming Tips & Tricks
Topic: Zero crossing detector hardware.
Replies: 2
Views: 5284

Re: Zero crossing detector hardware.

Not sure if my particular code will add anything so I have increased the resolution for a partial look at the development of "states" in the interrupt routine which can be used to determine what to do in the main program.
by alanwms
Sat Nov 11, 2017 3:48 pm
Forum: Programming Tips & Tricks
Topic: Zero crossing detector hardware.
Replies: 2
Views: 5284

Zero crossing detector hardware.

If you want to pick up the zero point of the AC mains, a novel method (see attachment) is to use an opto isolator with two emitters reverse connected in parallel. The only time a positive signal is available, is when both LED emitters are not conducting (mains is at zero). RB0 interrupt will be evok...
by alanwms
Sat Nov 11, 2017 2:51 pm
Forum: User Components
Topic: C Code OSCCON unidentified
Replies: 2
Views: 5564

Re: C Code OSCCON unidentified

Thank you
by alanwms
Fri Nov 10, 2017 11:29 pm
Forum: User Components
Topic: C Code OSCCON unidentified
Replies: 2
Views: 5564

C Code OSCCON unidentified

I have pulled a flowcode 5 file into FC7 build V7.2.1.4 Compiles fine in FC5, but the following message appears in FC7 - Can you assist? Build date: Jan 24 2017 Part Support Version: 1.41 Copyright (C) 2017 Microchip Technology Inc. License type: Node Configuration Employing 18F4455 errata work-arou...
by alanwms
Tue Oct 03, 2017 4:14 am
Forum: Flowcode V5
Topic: Finite State Program Example
Replies: 1
Views: 2711

Finite State Program Example

Do you have an example on finite state programming for flowcode?
by alanwms
Tue Aug 01, 2017 3:00 pm
Forum: Flowcode V5 Issues
Topic: pic18f4455 [4550] USB no go
Replies: 4
Views: 7193

Re: pic18f4455 [4550] USB no go

I'm running the osc at 8mhz internal - I know the frequency is correct, because my LED can flash at the interval I expect for a known delay. Do I have to do something special when using the internal osc?
by alanwms
Tue Aug 01, 2017 2:59 pm
Forum: Flowcode V5 Issues
Topic: pic18f4455 [4550] USB no go
Replies: 4
Views: 7193

Re: pic18f4455 [4550] USB no go

Thanks Ben - Most likely, I have driver install issues - I did right click on the generated driver to install it. After some messing around turning off signature validation, I succeeded the install. However, when I plug in the USB cable, I don;t get any action in the control panel section showing US...
by alanwms
Mon Jul 31, 2017 10:22 pm
Forum: Flowcode V5 Issues
Topic: pic18f4455 [4550] USB no go
Replies: 4
Views: 7193

pic18f4455 [4550] USB no go

Been looking around the forum and it seems that USB initialize creates a lockup - I have the same issue. Was there a fix for this? I'm using FC5. When I diable the USB init component, the program runs fine.

Thanks
by alanwms
Thu Jul 06, 2017 9:44 pm
Forum: Flowcode V5
Topic: 44 pin Pic18f4455
Replies: 3
Views: 4716

Re: 44 pin Pic18f4455

Great stuff - That is what I hoped for. Thanks for the detail. Are you saying that (for instance) RC6 which is on Pin44 will simply be available on pin 44 instead of pin25 of the 40 pin device.

:)
by alanwms
Sat Jul 01, 2017 4:46 am
Forum: Flowcode V5
Topic: 44 pin Pic18f4455
Replies: 3
Views: 4716

44 pin Pic18f4455

How do I go about using the tqfp Surface mount device package with Flowcode V5 or V7. This device has 44 pins unlike the more common through hole 40 pin device?
by alanwms
Mon Dec 19, 2016 4:15 pm
Forum: Flowcode V7
Topic: Programming to chip EB-006-00-6
Replies: 3
Views: 3904

Re: Programming to chip EB-006-00-6

Flowcode 5 programs the chips just fine.
by alanwms
Wed Dec 14, 2016 2:51 pm
Forum: Flowcode V7
Topic: Flowcode 7 and EB006v9 on Vista and....
Replies: 5
Views: 4389

Re: Flowcode 7 and EB006v9 on Vista and....

My Flowcode 7 will not program chips on the EB006 - But Flowcode 5 will. I have had a request in for a few weeks with no response.