Search found 209 matches

by Mark
Fri Oct 27, 2006 12:05 pm
Forum: Flowcode V2 & V3
Topic: Decimal point in a 7SegLED
Replies: 12
Views: 9486

Oops

My apologies, looks like I struck a nerve there. Sorry, I am not part of the Flowcode team. If you do not like coding 'tricks' then consider moving away from using PICs and Arizone Microchip altogether, by example you would be surely most put out by the way PIC Kit 1 is put together and the way many...
by Mark
Fri Oct 27, 2006 11:52 am
Forum: Flowcode V2 & V3
Topic: MCLR on 16F84
Replies: 7
Views: 7798

Benj, Nice idea. Presumably the port pins will all be set low on a reset so that the device will not get stuck in a reset forever situation? I thought that all pins were set as inputs on startup so that the state of any pin to an output device would be indeterminate. I.e. it may never be possible to...
by Mark
Fri Oct 27, 2006 11:39 am
Forum: Flowcode V2 & V3
Topic: Counter 0-9999 and Tachometer 0-9999 in one
Replies: 8
Views: 9989

Hi Ksor, Yes, sorry :( I forgot the caveat in your first message on the 16F84. I am used to swapping between PIC devices to obtain whatever functionality I require. One big benefit for Flowcode is that you can do this at will without recoding (some setup change can be required). Since the cost diffe...
by Mark
Fri Oct 27, 2006 11:33 am
Forum: Flowcode V2 & V3
Topic: Decimal point in a 7SegLED
Replies: 12
Views: 9486

7 Seg problem

Hi, I think an easy solution to the problem is to assign the decimal point to an ouput line that is already in use. I tried putting it to RB6 and the code compiled OK. Obviously you will then need to decide whether the point is to be always on, always off or changes to accomodate the specific charac...
by Mark
Thu Oct 26, 2006 9:29 am
Forum: Flowcode V2 & V3
Topic: Counter 0-9999 and Tachometer 0-9999 in one
Replies: 8
Views: 9989

Catching 80 * 9999 inputs on a PIC

80 * 9999 is about 800,000 and a pic can run at say 20MHz, with an instruction cycle of about 4MHz, which gives 5 instructions inbetween cycles. This looks like just enough time, but barely so, and not long enough for a RB0 interrupt counting routine. An alternative route is to use Timer 1, where yo...
by Mark
Wed Oct 25, 2006 5:43 pm
Forum: Flowcode V2 & V3
Topic: rs232
Replies: 7
Views: 7589

RS232 Rework for Flowcode

Steve, After taking your suggestion to review the RS232 code (re my problem with a retart as posted recently) some thoughts as to modifications for your reworking of the code are : 1) Provide an 'advanced' tab on the control screen to allow for selecting more complex options than the 'get you up and...
by Mark
Wed Oct 25, 2006 5:15 pm
Forum: Flowcode V2 & V3
Topic: Counter 0-9999 and Tachometer 0-9999 in one
Replies: 8
Views: 9989

Rev counter on a PIC

Having made such a project in the past the key is to realise that you only need to sample the rotation speed for say a second or two and then the programme can happily go away and spend it time giving output and ignore any further RPM data input. If this is not self evident, then consider how fast y...
by Mark
Wed Oct 25, 2006 5:09 pm
Forum: Flowcode V2 & V3
Topic: MCLR on 16F84
Replies: 7
Views: 7798

MCLR through software

My take on the question is 'can you effect MCLR through software in Flowcode'. This is akin to part of my earlier post about a week ago. Having pondered (and used) the suggestion of directing code execution to memory 0 (see response of Steve to my post) this does not actually do the same thing as in...
by Mark
Thu Oct 19, 2006 12:55 pm
Forum: Flowcode V2 & V3
Topic: Effect of loop back to start versus a harware reset
Replies: 1
Views: 2824

Effect of loop back to start versus a harware reset

I have a problem that my Flowcode 2.2. programme runs fine but that it will not ‘restart’ by looping back to the start and function properly. The programme is basically Initialise variables Clear arrays Start timer 0 interrupt driven clock RS232 input of acquisition parameters from PC Loop to ac...