Hi
If I print a flow chart in colour to an inkjet printer I get a pale yellow background. Although this does look nice it uses a lot of ink - is there an option anywhere to print with a white background?
Regards
Clive
Search found 52 matches
- Sat Jun 23, 2012 1:21 pm
- Forum: Flowcode V5 Issues
- Topic: Printing flowcharts
- Replies: 2
- Views: 6367
- Mon May 28, 2012 12:42 pm
- Forum: General Programming
- Topic: RC5 and Stack problem
- Replies: 16
- Views: 11502
Re: RC5 and Stack problem
Here's a puzzle for you!
If I set the osc as internal and the frequency as 999.464KHz into Flowcode (which is actually a quarter of what it should be) then the RC5 works, but the LCD doesn't seem to like it. Bit of a clash.
Regards
Clive
If I set the osc as internal and the frequency as 999.464KHz into Flowcode (which is actually a quarter of what it should be) then the RC5 works, but the LCD doesn't seem to like it. Bit of a clash.
Regards
Clive
- Mon May 28, 2012 12:35 pm
- Forum: General Programming
- Topic: RC5 and Stack problem
- Replies: 16
- Views: 11502
Re: RC5 and Stack problem
A bit more detective work - Putting a frequency counter on pin 14. As expected I read with a few Hz of 4.096MHz with the crystal oscillator. Switching to the internal RC oscillator I read 999.464KHz (Fosc divide by 4). If I then put the oscillator frequency into Flowcode as 4 times this ie 3997.856M...
- Mon May 28, 2012 12:22 pm
- Forum: General Programming
- Topic: RC5 and Stack problem
- Replies: 16
- Views: 11502
Re: RC5 and Stack problem
Hi Ben I've taken your original RC5 test file and modded it a little. Port B is the EB005 LCD board and Port A.3 is the RC5 RX input from an EB060 board. PIC is 16F887 in an EB006 although I'm using a PICKit 2 to program it. If configured to 19.6008MHz and using the EB006 crystal it works fine Also ...
- Mon May 28, 2012 11:29 am
- Forum: General Programming
- Topic: RC5 and Stack problem
- Replies: 16
- Views: 11502
Re: RC5 and Stack problem
Thanks again for your help Ben
I can get it to consistently work with an HS oscillator and a 19.6608 crystal, but no joy at all on an internal 4MHz osc. Must be finger troubles - I'll check further!!!
Clive
I can get it to consistently work with an HS oscillator and a 19.6608 crystal, but no joy at all on an internal 4MHz osc. Must be finger troubles - I'll check further!!!
Clive
- Mon May 28, 2012 10:56 am
- Forum: General Programming
- Topic: RC5 and Stack problem
- Replies: 16
- Views: 11502
Re: RC5 and Stack problem
Thanks Martin. I'll have a look at the points you've raised. The program is pretty huge now with about 20 macros so I don't want to burden you with looking through that lot!!
Do the RC5 macros need a 19.6608 MHz clock or should they run at lower frequencies?
Best regards
Clive
Do the RC5 macros need a 19.6608 MHz clock or should they run at lower frequencies?
Best regards
Clive
- Sun May 27, 2012 9:08 pm
- Forum: General Programming
- Topic: RC5 and Stack problem
- Replies: 16
- Views: 11502
Re: RC5 and Stack problem
Problem seems to be related to TMR0 which I was using as a seconds counter interrupt. Using TMR2 solves some of the problems and I'm getting closer to a working solution, although RC5 reception seems a little intermittent. One point - the RC5 macros only seem to run with an oscillator of 19.660800MH...
- Sat May 26, 2012 2:55 pm
- Forum: General Programming
- Topic: RC5 and Stack problem
- Replies: 16
- Views: 11502
Re: RC5 and Stack problem
Hi Ben Thanks for your reply and sorry I've taken so long to reply - been away in the sun for a few days!! I've done what you said but I've still got problems. I have a large working program. It works fine if I just use the push buttons on an EB007, but I need to have an IR remote control as well. I...
- Wed May 16, 2012 6:37 pm
- Forum: General Programming
- Topic: RC5 and Stack problem
- Replies: 16
- Views: 11502
RC5 and Stack problem
Hi I have quite a large program which complies on Flowcode V5 and runs fine on the target device. However if I add the RC5_RX_Enable() macro I get compile errors as follows - Building CASM file Serious Warning: Call stack usage exceeds:8! Call Stack Usage Report ======================= main and Task...
- Fri May 11, 2012 5:24 pm
- Forum: General Programming
- Topic: PPP and RC5
- Replies: 9
- Views: 5248
Re: PPP and RC5
Hi Ben
Changing the two macros LCDDisplay(0)Command(in) to LCDDisplay(0)PrintNumber(in) makes it work.
Have a good weekend and thanks for your help.
Clive
Changing the two macros LCDDisplay(0)Command(in) to LCDDisplay(0)PrintNumber(in) makes it work.
Have a good weekend and thanks for your help.
Clive
- Fri May 11, 2012 4:57 pm
- Forum: General Programming
- Topic: PPP and RC5
- Replies: 9
- Views: 5248
Re: PPP and RC5
Hi Ben
Yes, LCD now Port B and IR board now Port C. Jumpers set so IRin can be seen with oscilloscope producing nice RC5 waveform on C.2 directly on PIC16F877A IC pin. LCD still blank.
What should I expect to see on the LCD?
regards
Clive
Yes, LCD now Port B and IR board now Port C. Jumpers set so IRin can be seen with oscilloscope producing nice RC5 waveform on C.2 directly on PIC16F877A IC pin. LCD still blank.
What should I expect to see on the LCD?
regards
Clive
- Fri May 11, 2012 4:40 pm
- Forum: General Programming
- Topic: PPP and RC5
- Replies: 9
- Views: 5248
Re: PPP and RC5
Hi Benj That one compliles OK, but doesn't do anything. I've got the EB-005 LCD board in Port C and the EB060 IR Board in Port D. I've connected D6 on the IR board by flying lead to C.2 on the PIC16F877A. Squirting the RC5 remote control at the IR receiver doesn't do anything - LCD stays blank. Clive
- Fri May 11, 2012 3:31 pm
- Forum: General Programming
- Topic: PPP and RC5
- Replies: 9
- Views: 5248
Re: PPP and RC5
Hi Martin If I load the hex file RC5_TX_RX_1.hex then all works fine. I can read codes from a Philips RC5 remote control. However if I try and compile the RC5_TX_RX_1.fcf in Flowcode 5 it comes back with errors - RC5_TX_RX_1.c(704:2): error: unknown identifier 'FCL_PULSEWIDTH' RC5_TX_RX_1.c(704:2): ...
- Fri May 11, 2012 11:37 am
- Forum: General Programming
- Topic: PPP and RC5
- Replies: 9
- Views: 5248
Re: PPP and RC5
Ah, OK! Sorry looks like I was being a bit dim there.
Many thanks
Clive
Many thanks
Clive
- Thu May 10, 2012 6:27 pm
- Forum: General Programming
- Topic: PPP and RC5
- Replies: 9
- Views: 5248
PPP and RC5
Hi I'm about to start using an EB060 RC5 Infrared Board and the guide for testing it states "In PPP open file RC5_TX_RX_1.hex". "In PPP click on “Send” icon" etc. I'm finding it elusive to find where to download PPP on the Matrix Multimedia website. Also are there any user guides/help files for usin...
- Wed May 02, 2012 4:13 pm
- Forum: General Programming
- Topic: Help with Flowkit please
- Replies: 11
- Views: 5660
Re: Help with Flowkit please
Thanks for looking Benj but it's no great problem.
One thing I've noticed is that the ICD seems to need about 1500 bytes of ROM in the target device. Is this correct?
Cheers
Clive
One thing I've noticed is that the ICD seems to need about 1500 bytes of ROM in the target device. Is this correct?
Cheers
Clive
- Tue May 01, 2012 3:34 pm
- Forum: General Programming
- Topic: Help with Flowkit please
- Replies: 11
- Views: 5660
Re: Help with Flowkit please
Hi Martin I've reloaded the driver again, this time from the website rather than the CD supplied with the Flowkit. I can now see it on Device Manager as a 'Custom USB Device'. It will come and go as I toggle the switch on the Flowkit. Cleared the Low Voltage Programming and Watchdog timer in device ...
- Tue May 01, 2012 11:45 am
- Forum: General Programming
- Topic: Help with Flowkit please
- Replies: 11
- Views: 5660
Re: Help with Flowkit please
I cannot see it on the Device Manager.
I can see the PICKit 2 which is plugged into the USB Out socket on the Flowkit.
With the switch in the ICD position and doing a 'scan for hardware changes' in Device Manager it still sees the PICKit 2 but not the Flowkit - which seems strange to me???
Clive
I can see the PICKit 2 which is plugged into the USB Out socket on the Flowkit.
With the switch in the ICD position and doing a 'scan for hardware changes' in Device Manager it still sees the PICKit 2 but not the Flowkit - which seems strange to me???
Clive
- Tue May 01, 2012 11:22 am
- Forum: General Programming
- Topic: Help with Flowkit please
- Replies: 11
- Views: 5660
Re: Help with Flowkit please
Hi Martin
Yes, I programmed the board using a PICKit 2 and the switch in the 'PROG' position
then set switch to 'ICD' and connected the board directly to the flowkit.
I have attached the code I was using - it should just flash one LED.
Thanks for your help
Clive
Yes, I programmed the board using a PICKit 2 and the switch in the 'PROG' position
then set switch to 'ICD' and connected the board directly to the flowkit.
I have attached the code I was using - it should just flash one LED.
Thanks for your help
Clive
- Mon Apr 30, 2012 7:12 pm
- Forum: General Programming
- Topic: Help with Flowkit please
- Replies: 11
- Views: 5660
Help with Flowkit please
Hi I've just purchased the HP299 Flowkit. Trying to use it with the PICKit 28 pin demo board. PC running XP service pack 3 and Flowcode 5.1. Loaded drivers twice. Just get message "Could not communicate with ICD. Please connect an appropriate ICD unit (e.g. EB006 V7) and try again" Flowkit is plugge...
- Fri Apr 27, 2012 10:09 am
- Forum: Flowcode V5 Issues
- Topic: Strange problem on PIC16F610
- Replies: 4
- Views: 3127
Re: Strange problem on PIC16F610
Hi Ben
Yes that's fixed it. All working OK now.
Thanks
Clive
Yes that's fixed it. All working OK now.
Thanks
Clive
- Thu Apr 26, 2012 4:58 pm
- Forum: Flowcode V5 Issues
- Topic: Strange problem on PIC16F610
- Replies: 4
- Views: 3127
Re: Strange problem on PIC16F610
Just tried the original code on a PIC16F616 (same as PIC16F610 but 2K of RAM instead of 1K)
Works fine using RC.3 as an input.
Definitely points to a problem with the Flowcode V5.1 implementation on the PIC16F610. Sorry to be the bearer of bad news!!!
Clive
Works fine using RC.3 as an input.
Definitely points to a problem with the Flowcode V5.1 implementation on the PIC16F610. Sorry to be the bearer of bad news!!!
Clive
- Thu Apr 26, 2012 4:42 pm
- Forum: Flowcode V5 Issues
- Topic: Strange problem on PIC16F610
- Replies: 4
- Views: 3127
Strange problem on PIC16F610
Hi Flowcode V5.1 Very simple program - if logic 1 seen on PIC16F610 Port C.3 then do something, if logic 0 do something-else. Simulated - all OK. Didn't work on the hardware!! Everything looks fine on an oscilloscope but whatever way I wrote the code in Flowcode the PIC always acted as if it was see...
- Mon Apr 23, 2012 3:08 pm
- Forum: General Programming
- Topic: PIC16HV785
- Replies: 4
- Views: 2985
Re: PIC16HV785
Hi Steve
Just to let you know that code for the PIC16F785 works fine in the PIC16HV785 (as expected)
Clive
Just to let you know that code for the PIC16F785 works fine in the PIC16HV785 (as expected)
Clive
- Thu Jan 19, 2012 12:04 pm
- Forum: General Programming
- Topic: PIC16HV785
- Replies: 4
- Views: 2985
Re: PIC16HV785
Hi Steve
yes, I'll buy in some of each and try them out. I'll let you know the results. One further question - how do I enable the weak pull-ups on Port A on the F785 and HV785?
Thanks and best regards
Clive
yes, I'll buy in some of each and try them out. I'll let you know the results. One further question - how do I enable the weak pull-ups on Port A on the F785 and HV785?
Thanks and best regards
Clive