Hi,
Can I upgrade my Single User C for PIC micro v3.0 to v4.0?
Regards,
Mark
Search found 209 matches
- Wed Sep 10, 2008 12:24 pm
- Forum: C and ASM Programming
- Topic: C for PIC micro v3.0 Upgrade path to 4.0
- Replies: 1
- Views: 3905
- Tue Sep 09, 2008 11:03 am
- Forum: Flowcode V2 & V3
- Topic: Fading LED
- Replies: 21
- Views: 15755
Re: Fading LED
I suggest writing a simple test routine to flash an LED or something until you are sure the oscillator is working OK. At high frequencies the length of the leads to the crystal can be enough to give the required vcapacitance and you can sometimes get an oscillator that is not working, working by omi...
- Mon Sep 08, 2008 10:36 am
- Forum: Bugs / Application Errors
- Topic: Return Variable as String from Macro
- Replies: 4
- Views: 4215
Re: Return Variable as String from Macro
Steve, Good to see you take holiday, you seem to do so much. A skeleton Flowchart is attached to illustrate the issue. Simulate the code and check the two variables. The return string does not have access to 'Rename' and so the associated resising feature is not accessible. Hence, a macro can take i...
- Sat Sep 06, 2008 8:23 pm
- Forum: Flowcode V2 & V3
- Topic: Reference voltage for A/D inputs - Revisited 16886
- Replies: 4
- Views: 3454
Re: Reference voltage for A/D inputs - Revisited 16886
Steve, Many thanks for the prompt reply. The correct Code is ADCON1=0x10; for VRef+ and ADCON1=0x30; for Vref+ and Vref-. I attach the amended and tested 16F886.fcd file (Vref+) for the convenience of others. The file name is unchanged, but people may wish to change it for ease of reference. As a se...
- Fri Sep 05, 2008 10:01 am
- Forum: Flowcode V2 & V3
- Topic: Reference voltage for A/D inputs - Revisited 16886
- Replies: 4
- Views: 3454
Reference voltage for A/D inputs - Revisited 16886
Reference voltage for A/D inputs - Revisited for 16886 Hi Guys, The above topic is covered in a previous post but that post is now out of date (for 16F876) and my question is for the 16F886. A summary of the previous post might be: If you want Vref then go in to the FCD file, make a copy, call it De...
- Thu Aug 28, 2008 10:47 am
- Forum: Suggestions
- Topic: While loop enhancements
- Replies: 6
- Views: 11113
Re: While loop enhancements
Steve, Rather than trying to cram more in to the While loop, simplicity can be maintained by adding new loop icons : For Next Loop For (Variable auto created in variable list) = {X} to {Y} step {Z} and for my part a Do Until Loop (your helpful post on this is clear but as you know when debugging cod...
- Wed Aug 27, 2008 6:36 pm
- Forum: Electronics products
- Topic: TINA
- Replies: 1
- Views: 4652
TINA
Hi Guys,
I was thinking of getting the TINA software. A couple of questions
Is it compatible with Flowcode code for simulation?
Any idea what PIC chips it can simulate 16F876, 16F886?
What is the limitation on the Basic version in practical terms?
Thanks,
Mark
I was thinking of getting the TINA software. A couple of questions
Is it compatible with Flowcode code for simulation?
Any idea what PIC chips it can simulate 16F876, 16F886?
What is the limitation on the Basic version in practical terms?
Thanks,
Mark
- Wed Aug 27, 2008 6:30 pm
- Forum: Bugs / Application Errors
- Topic: TMR0 interrupt on 16F886
- Replies: 2
- Views: 3713
Re: TMR0 interrupt on 16F886
Benj,
Yes, thanks for the suggestion, my Idiot mistake.
(of course the form still says that interrupt is at a given frequency even when an external input is chosen)
Thanks a lot for the quick response, the error had been bugging me for days.
Thanks,
Mark
Yes, thanks for the suggestion, my Idiot mistake.
(of course the form still says that interrupt is at a given frequency even when an external input is chosen)
Thanks a lot for the quick response, the error had been bugging me for days.
Thanks,
Mark
- Wed Aug 27, 2008 12:28 pm
- Forum: Suggestions
- Topic: Do Until Loop
- Replies: 1
- Views: 7369
Do Until Loop
A simple option and standard programming practice is to have Do Until Loops as well as Do While Loops.
Not a big deal but I assume easy to implement and fairly standard fair in programming.
Regards,
Mark
Not a big deal but I assume easy to implement and fairly standard fair in programming.
Regards,
Mark
- Wed Aug 27, 2008 10:51 am
- Forum: Suggestions
- Topic: Flowchart navigation
- Replies: 4
- Views: 9066
Re: Flowchart navigation
Yes, a free format text page to include notes would be very useful. I use a wide screen and when opening a macro (as in the first post) the macro's tend to open a wide box, could they be made to open narrow? That way it is possible to easily have 3 or 4 strips of code down ( eg left to right) a scre...
- Wed Aug 27, 2008 10:44 am
- Forum: Bugs / Application Errors
- Topic: TMR0 interrupt on 16F886
- Replies: 2
- Views: 3713
TMR0 interrupt on 16F886
Hi there,
I have tried to implement a simple timer 0 interrupt on a 16F886, identical to one that works on a 16F876 and it does not work. In simulation it works but rather slowly.
Please confirm that you can get it to work on the chip.
thanks,
Mark
I have tried to implement a simple timer 0 interrupt on a 16F886, identical to one that works on a 16F876 and it does not work. In simulation it works but rather slowly.
Please confirm that you can get it to work on the chip.
thanks,
Mark
- Wed Aug 27, 2008 9:31 am
- Forum: Bugs / Application Errors
- Topic: Return Variable as String from Macro
- Replies: 4
- Views: 4215
Re: Return Variable as String from Macro
As there has been no reply to my post, two questions please...
Is the point I make valid?
Is there a work around to boost the returned string length?
Thanks,
Mark
Is the point I make valid?
Is there a work around to boost the returned string length?
Thanks,
Mark
- Thu Aug 14, 2008 11:28 pm
- Forum: Bugs / Application Errors
- Topic: Return Variable as String from Macro
- Replies: 4
- Views: 4215
Return Variable as String from Macro
It appears that if a string variable is the return value from a macro then that return value is invariably 20 characters long. The accepting variable in the calling flow symbol can be whatever you want and internal macro variables can be whatever you want but the return from the string seems stuck a...
- Thu Aug 07, 2008 12:59 pm
- Forum: Components (Comms)
- Topic: led matrix
- Replies: 4
- Views: 4917
Re: led matrix
The PIC Kit 1 is a good example of an LED array of 16 LED's from just 4 port pins. However, when transposing the wiring to a stand alone application it soon became clear that the elegant solution was just too complicated and some LED's 'leaked' enough current to give dim lighting on LED's that shoul...
- Tue Aug 05, 2008 1:13 pm
- Forum: Suggestions
- Topic: Component Macro Name tidying suggestion
- Replies: 1
- Views: 7127
Component Macro Name tidying suggestion
Hi again, When a component macro is included the default title is uninformative. Could I suggest that the title defaults to the name of the component action selected when the that selection occurs. Most of the time this will provide an informative title. e.g. 'I2C Stop' will rarely be needed to call...
- Tue Aug 05, 2008 1:08 pm
- Forum: Suggestions
- Topic: Variable List
- Replies: 7
- Views: 11081
Re: Variable List
Hi again, On the original post it was pointed out that the variable list can self sort. This is good but unfortunately every time the list is opened the sort has to be carried out afresh. I find this repetetive when I have long macro names and the alphabetical list goups the macro variables together...
- Tue Aug 05, 2008 1:03 pm
- Forum: Components (Comms)
- Topic: I2C Speed
- Replies: 3
- Views: 8820
I2C Speed
Hi there,
The I2C component has 3 speeds, 100, 400 and 1,000 kHz. Is this a speed against an assumed clock speed or is it calculated from the actual clock speed? If a clock speed is assumed, what is it?
Thanks,
Mark
The I2C component has 3 speeds, 100, 400 and 1,000 kHz. Is this a speed against an assumed clock speed or is it calculated from the actual clock speed? If a clock speed is assumed, what is it?
Thanks,
Mark
- Fri Jul 18, 2008 11:15 am
- Forum: Suggestions
- Topic: Suggest SLEEP symbol and CASE SELECT symbol(s)
- Replies: 1
- Views: 6954
Suggest SLEEP symbol and CASE SELECT symbol(s)
Hi Guys, Simple Suggestions for FC4 Whilst sleep is easy to implement it may as well be present as a symbol? Case select as in on Case = 1 do Y, on Case 2 do Y would greatly tidy up many of programs, where long lists of If symbols make for hard to read clutter. A last suggestion is to incorporate mo...
- Mon Jun 30, 2008 4:38 pm
- Forum: Suggestions
- Topic: Calculation flowcode symbol resising
- Replies: 2
- Views: 7645
Re: Calculation flowcode symbol resising
Steve,
Thanks, good product getting better.
Regards,
Mark
Thanks, good product getting better.
Regards,
Mark
- Mon Jun 30, 2008 4:35 pm
- Forum: Components (Comms)
- Topic: RS232 Interrupt, USB232 and 16F886
- Replies: 3
- Views: 4556
Re: RS232 Interrupt, RS232 board and 16F886
Replying to yourself is sort of sad but : I have got a 16F88 up and running now with the RS232 board and the example code interrupt routine still does not work. i.e. it is off the peg, no changes and the PC sending routing is fully tested. So - has the example code ever been proven? If so what might...
- Wed Jun 25, 2008 6:51 pm
- Forum: Suggestions
- Topic: Calculation flowcode symbol resising
- Replies: 2
- Views: 7645
Calculation flowcode symbol resising
Hi,
Could the make the calculation box resisable i.e. when you open it up for editing?
After adding long variables (mostly in macros) the right end of the text goes out of sight and there are no scroll bars.
Thanks,
Mark
Could the make the calculation box resisable i.e. when you open it up for editing?
After adding long variables (mostly in macros) the right end of the text goes out of sight and there are no scroll bars.
Thanks,
Mark
- Thu Jun 19, 2008 5:28 pm
- Forum: Components (Comms)
- Topic: RS232 Interrupt, USB232 and 16F886
- Replies: 3
- Views: 4556
RS232 Interrupt, USB232 and 16F886
RS232 Interrupt, USB232 and 18F886 Hi Guys, I have read the previous posts on this topic with interest. I therefore used as my starting point your example code for the RS232 interrupts. However, I cannot get it to work. That is to say that: Using the HP-488 board with a USB232 and 16F886, example ro...
- Wed Jun 11, 2008 12:02 pm
- Forum: Components (Comms)
- Topic: ECIO and use of USB in Flowcode
- Replies: 18
- Views: 22739
ECIO and use of USB in Flowcode
ECIO and use of USB in Flowcode The ECIO devices are very appealing if we can use the USB to send data back to a PC. Is this possible? Is it possible in Flow Code? If not directly possible is there a work around (via RS232)? Pure USB is not in any case what I suspect many people want, rather a simul...
- Wed Jun 11, 2008 11:47 am
- Forum: Components (Comms)
- Topic: I2C Component Macro
- Replies: 1
- Views: 3084
I2C Component Macro
I2C Component Macro First a good to have component and the useful sample program works well in hardware, storing and recieveing 'Hi'. Adapating the code for my own use could you explain : What the pupose of the RetVal field in the Transmit Byte Macro is? What the Purpose of the Last Byte Field is in...
- Sat May 12, 2007 11:33 pm
- Forum: Flowcode V2 & V3
- Topic: Watchdogreset in Flowcode
- Replies: 7
- Views: 7958
Hi Steve, I am not sure that you can stop misapplication of the WDT. After all, if the prescaler is used with Timer0 or the prescaler timeout is short, even though assigned to the WDT, the same problems will occur with even shorter delays than 1s (or even with the ASC at low clock speeds). The WDT f...