Search found 56 matches

by alanwms
Thu Dec 26, 2019 5:41 pm
Forum: Flowcode V7
Topic: Interrupt Frequency
Replies: 3
Views: 412

Re: Interrupt Frequency

Thanks Ben - Merry Christmas.
by alanwms
Sun Dec 22, 2019 5:11 am
Forum: Flowcode V7
Topic: Interrupt Frequency
Replies: 3
Views: 412

Interrupt Frequency

Clock Speeds.jpg
Clock Speeds.jpg (42.38 KiB) Viewed 412 times
Hello Ben:

With an interrupt that is hartware driven (Interrupt on Pin 1), how come the timer interrupt parameters show 15 Hz?
I suspect that this is a mistake since it never changed even if I change the project clock speeds. Can you help me understand that?
by alanwms
Sat Nov 23, 2019 2:52 am
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 770

Re: PIC18f2553 RE3/Mclr

Thank you very much Ben. That removes the question for me. I will check the docs you reference.
by alanwms
Thu Nov 21, 2019 9:44 pm
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 770

Re: PIC18f2553 RE3/Mclr

Thanks Ben - Here are my files I call "Musings" because I change lots of stuff in order to attempt resolve.
by alanwms
Wed Nov 20, 2019 7:27 pm
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 770

Re: PIC18f2553 RE3/Mclr

Thank you Ben. The system compiles now. The reason I was doing this is because I can get the system to reset by a low signal on the pin (mclr). My thought were that making this an input would resolve the issue. Unfortunately it didn't. I can still get the system to reset under a low condition on the...
by alanwms
Tue Nov 19, 2019 5:21 am
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 770

Re: PIC18f2553 RE3/Mclr

Thanks you. I will attempt that resolve. On another note - I think (maybe) that the project option config which disables mclr in leu for Re3 is not working. I think that the mclr pin is still an mclr pin? I can get the pic to reset using this pin. To be clear - It will compile with the Re3 pin selec...
by alanwms
Sat Nov 16, 2019 6:36 pm
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 770

PIC18f2553 RE3/Mclr

Attempting to read RE3 but the compiler refuses to compile. See bellow picture. Any thoughts?
RE3-MCLR.jpg
RE3-MCLR.jpg (62.09 KiB) Viewed 765 times
by alanwms
Mon Nov 11, 2019 9:51 pm
Forum: Flowcode V7
Topic: 2D Simulation
Replies: 1
Views: 243

2D Simulation

Hello - I have looked around for forum hints on simulation problems and have not concluded. Here is my problem: Simulator works if I step through a program. Running a program at speeds causes the components (Switches/Led's) not to graphically update. I do believe that the switches are recognized by ...
by alanwms
Mon May 13, 2019 4:24 pm
Forum: Flowcode V7
Topic: PIC18F2553 ADC and VREF
Replies: 2
Views: 1485

Re: PIC18F2553 ADC and VREF

Hmmm - The chip is running internal 8mhz oscillator. But good thoughts regarding acq time and speed.
by alanwms
Thu May 09, 2019 11:06 pm
Forum: Flowcode V7
Topic: PIC18f2553 C4 and C5 outputs Versus USB
Replies: 0
Views: 565

PIC18f2553 C4 and C5 outputs Versus USB

Hello (Ben): I have difficulties getting the I/O points C4/C5 working correctly, and I think it is due to the USB which is assigned to the same port pins (which are only inputs for me). I have studied the forum which is where I concluded my issue, and attempted the C code for disabling the USB witho...
by alanwms
Sat Apr 13, 2019 9:33 pm
Forum: Flowcode V7
Topic: Interrupt difficulies pic18f2553
Replies: 3
Views: 1125

Re: Interrupt difficulies pic18f2553

Oops - Actually, I turned off the computer and restarted to resolve the issue.
by alanwms
Sat Apr 13, 2019 9:32 pm
Forum: Flowcode V7
Topic: Interrupt difficulies pic18f2553
Replies: 3
Views: 1125

Re: Interrupt difficulies pic18f2553

Thanks for checking Ben - I'm running 7.3.07 already. Maybe something of a squirrel in my software?
by alanwms
Sat Mar 30, 2019 7:30 pm
Forum: Flowcode V7
Topic: PIC18F2553 ADC and VREF
Replies: 2
Views: 1485

PIC18F2553 ADC and VREF

Hello Ben. I have the zipped patches in my FC7 file but still having an issue specifically with analog3 on the pic18f2553. I have a temp sensor connected to AN3, and I have a voltage emanating from the pin. The voltage should be .7v and it is actually around 3.5v I'm not sure but it looks to me like...
by alanwms
Sat Mar 23, 2019 4:42 am
Forum: Flowcode V7
Topic: Local Variables in Simulation
Replies: 4
Views: 2408

Re: Local Variables in Simulation

My .local_variables don't show in FC7.3 when I manually enter the .local_variable
by alanwms
Fri Mar 15, 2019 8:22 pm
Forum: Flowcode V7
Topic: Interrupt difficulies pic18f2553
Replies: 3
Views: 1125

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: 904

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: 1296

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: 1296

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: 1296

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: 879

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: 879

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: 1631

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: 1631

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: 989

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 encode...
by alanwms
Mon Nov 20, 2017 5:36 am
Forum: Programming Tips & Tricks
Topic: Sine & Cosine Calculator
Replies: 10
Views: 11260

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...