Search found 59 matches

by alanwms
Mon Jul 13, 2020 3:11 pm
Forum: Flowcode V7
Topic: Timer Counter in Sim
Replies: 6
Views: 673

Re: Timer Counter in Sim

Thanks - That helps a lot.
by alanwms
Sun Jul 12, 2020 5:21 pm
Forum: Flowcode V7
Topic: Timer Counter in Sim
Replies: 6
Views: 673

Re: Timer Counter in Sim

Thanks - I do understand interrupts. What I am attempting to do is count hardware pulses into the timer. I'm not sure how to do that in sim. I have: 1. Attempted to setup the timer 0 interrupt with a transition on T0CK1 pin and connect a simulator switch to that pin. Regardless, the interrupt happen...
by alanwms
Thu Jul 02, 2020 2:56 am
Forum: Flowcode V7
Topic: Timer Counter in Sim
Replies: 6
Views: 673

Timer Counter in Sim

Hello Ben - Just doing a simple test to understand the timer capabilities, and can't get the Ulong_timer variable to update. It's always at zero- am I missing something?
I did try enabling the timer interrupt to no avail.
by alanwms
Thu Dec 26, 2019 5:41 pm
Forum: Flowcode V7
Topic: Interrupt Frequency
Replies: 3
Views: 1378

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

Interrupt Frequency

Clock Speeds.jpg
Clock Speeds.jpg (42.38 KiB) Viewed 1378 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: 2058

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

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

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

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

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 2053 times
by alanwms
Mon Nov 11, 2019 9:51 pm
Forum: Flowcode V7
Topic: 2D Simulation
Replies: 1
Views: 1061

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Macro Colors

Copy/Paste of component icons does not transfer the modified color palette