Search found 260 matches

by Dan81
Sat Mar 07, 2009 5:35 pm
Forum: General / Misc
Topic: Read Rs232 Sring in to Pic16F88 and let 2 steppers rotate
Replies: 4
Views: 4611

Re: Read Rs232 Sring in to Pic16F88 and let 2 steppers rotate

hello

I think there is an error in the "Custom interrupt properties".

Flag register must be "pir1" and not "pie1".

see 16F88 pdf p: 21

I've changed also RS232_RX macro, but it is not tested .


Daniel
by Dan81
Sat Mar 07, 2009 4:00 pm
Forum: Flowcode V2 & V3
Topic: LCD Marquee using flowcode
Replies: 4
Views: 5859

Re: LCD Marquee using flowcode

hello Richard LCD (HD44780) has lot of instructions. For scrolling, you can use the Flowcode LCD macro "command" and specify the value of : 0x18 to the LEFT 0x1C to the RIGHT (not available in the simulation) BUT all the 2 (3 or 4) lines are scrolling at the same time. You can also "play" with the c...
by Dan81
Thu Feb 19, 2009 8:12 pm
Forum: General / Misc
Topic: Flowcode and PWM
Replies: 1
Views: 3020

Re: Flowcode and PWM

Bonjour

Vous pouvez utiliser l'icone "code C" et configurer les registres (voir datasheet du Pic).

J'ai retrouvΓ© ce programme qui a Γ©tΓ© developpΓ© pour un pic 16f88 et avec la version 2 de Flowcode (le PWM est apparu dans la V3 il me semble).

Bon courage

Daniel
by Dan81
Wed Feb 18, 2009 4:56 pm
Forum: General / Misc
Topic: Flowcode question
Replies: 3
Views: 3912

Re: Flowcode question

Hello jim

Try one of these Flowcharts.

For "Scrutation", you can use any Port ( A , B , ..).

But for "interruption" , you must use RB0 as input.
Or use RB Port change interrupt and the inputs will be RB4 ou RB5 or RB6 or RB7.


Daniel
by Dan81
Thu Feb 12, 2009 9:16 am
Forum: Flowcode V2 & V3
Topic: how to use interrupt?
Replies: 9
Views: 6695

Re: how to use interrupt?

Hello

If you want to stop your programme for good , try this.
For restart, you will have to reset the Pic or power off.

Daniel
by Dan81
Wed Feb 04, 2009 4:06 pm
Forum: Components (Comms)
Topic: RS232 Master Slave Setup
Replies: 3
Views: 4127

Re: RS232 Master Slave Setup

Hello I think the problem is that your 3 boards are not synchronised and your "slave" delays are too long. I've modifed the value of LAMP_x in order to differentiate the first from the other three. The "Slave" flowchart can be almost the same for the two slave boards. Don't send 255, it's a special ...
by Dan81
Sat Dec 13, 2008 11:09 am
Forum: Bugs / Application Errors
Topic: LCD macro Cursor doesn't work with variables
Replies: 1
Views: 3087

Re: LCD macro Cursor doesn't work with variables

Hello Did you test the programme on HW with cursor(0,0) ? I think your configuration is not good. Click on : chip / configure / Switch ... The config word is 0x3FFF, it should be 0x3F7A : - oscillator : HS (not RC) - Watchdog Timer: Off - Low voltage Prog : Disable I hope this can help you Daniel
by Dan81
Wed Sep 17, 2008 6:57 pm
Forum: Suggestions
Topic: Default Target Chip
Replies: 5
Views: 8782

Re: Default Target Chip

A simple way is to remove all the *.fcd that you don't use from the "fcd folder" (..\Flowcode\fcd) . But keep them in a new folder.
In Flowcode when you create a new flowchart, you will only have your favorite target.

Daniel
by Dan81
Thu Apr 19, 2007 5:40 pm
Forum: Flowcode V2 & V3
Topic: Newbie Question 16F88 & EXT resonator parts
Replies: 3
Views: 4208

Ron With a 16F88, a resonator is not necessary. In Flowcode, 1- for a frequency of 4MHz you can use a "C code" and put in it : osccon = 0x60; (See page 40 of 16f88 datasheet) 2- Configure PPP with oscillator : internal (menu : chip /configure) STEVE Can i get an update of PPP, I've bought 16F886 and...
by Dan81
Sun Jan 15, 2006 6:02 pm
Forum: Flowcode V2 & V3
Topic: FlowCode v3
Replies: 72
Views: 62027

A very interesting topic A little suggestion for RB0-interrupt : Choosing the edge activy (like choosing the prescale value for timer) would be great. a PWM macro would be welcome. I use Flowcode v2 with my students (6 and 7 level), they like to see if their program will work at once (or not). Daniel