is this also possible if i use Timer0?
i ask this, because if it is possible, i can use the programm in the flowcode examples (digital clock)
Search found 19 matches
- Thu Apr 10, 2008 3:15 pm
- Forum: Flowcode V2 & V3
- Topic: Need help with "Sleep mode"
- Replies: 5
- Views: 5006
- Thu Apr 10, 2008 11:21 am
- Forum: Flowcode V2 & V3
- Topic: Need help with "Sleep mode"
- Replies: 5
- Views: 5006
Re: Need help with "Sleep mode"
isnt it possible to let the pic sleep for a specific time?
something like this :
sleep(3600); //sleep 3600 seconds
something like this :
sleep(3600); //sleep 3600 seconds
- Thu Apr 10, 2008 9:04 am
- Forum: Flowcode V2 & V3
- Topic: Need help with "Sleep mode"
- Replies: 5
- Views: 5006
Need help with "Sleep mode"
Hi! I want to do the following: i want to check a device if an error occured or not... this should last for about 20minutes... when the 20 minutes are over the pic18F1320 should be set into sleep mode this sleep mode should last for 6hours then the pic should wake up and check again the device I don...
- Thu Apr 03, 2008 4:21 pm
- Forum: Flowcode V2 & V3
- Topic: i am confused about using the or-operator
- Replies: 1
- Views: 2022
i am confused about using the or-operator
Hi all! I have a very special problem: i try to receive two characters with my rs232 component. First i try to check if the first incoming character is an 'a' or 'b' or 'c'. If it is one of the following characters, i try to check the second character if it is an 'a' or 'b' ... or 'o'. At the moment...
- Thu Mar 13, 2008 5:24 pm
- Forum: Flowcode V2 & V3
- Topic: nasty problem with rs232
- Replies: 1
- Views: 2065
nasty problem with rs232
I have a special problem: in my first programm, i try the following: i try to send one characters (a) via rs232 (i use the rs232 marco) now i try to receive this characters, and if it has been received correctly, i want to flash a led this programm works fine now to my 2nd programm: when i try to se...
- Thu Mar 06, 2008 10:58 am
- Forum: Flowcode V2 & V3
- Topic: problem with baudrate
- Replies: 6
- Views: 5136
Re: problem with baudrate
i changed now the oszillator frequenzy to 4MHz i use the internal oscilator, (output on RA6 and RA7) when i measure the frequenzy on these outputs, i measure a frequenzy of 313Hz... how is this possible? What is my mistake? I also added some pics, and my programme codes this is the frequenzy on RA7,...
- Thu Feb 28, 2008 7:42 pm
- Forum: Flowcode V2 & V3
- Topic: problem with baudrate
- Replies: 6
- Views: 5136
Re: problem with baudrate
i use the internal oscilator from the pic (19Mhz) i send one character via rs232 ( 'a' ) to a max232 and then to the hyperterminal of a pc i watch the outputs/inputs with an osciloscope (one scope at the tx output of the pic one scope at the max232 output) the programm works fine, also the character...
- Thu Feb 28, 2008 5:03 pm
- Forum: Flowcode V2 & V3
- Topic: problem with baudrate
- Replies: 6
- Views: 5136
problem with baudrate
My problem is:
i set the baud rate in the rs232 component properties to 9600
when i compile the flowcodefile in the c-file stands:
#define FC_RS232_SPBRG_VAL 127
and if i check my baudrate via a scope then i have 16 baud...
what did i do wrong?
regards, andi
i set the baud rate in the rs232 component properties to 9600
when i compile the flowcodefile in the c-file stands:
#define FC_RS232_SPBRG_VAL 127
and if i check my baudrate via a scope then i have 16 baud...
what did i do wrong?
regards, andi
- Fri Feb 01, 2008 9:28 am
- Forum: Flowcode V2 & V3
- Topic: problems with variables
- Replies: 1
- Views: 2358
problems with variables
Hi all! Here is my problem: http://img511.imageshack.us/img511/8315/unbenanntuu9.jpg as you can see in the picture, i first set the variable "test=0" Then i check if an interruptflag is enabled (IRVST) If the interruptflag is enabled, i whould like to set "test" to 1 i tryed this...
- Thu Jan 24, 2008 5:09 pm
- Forum: Flowcode V2 & V3
- Topic: assemblycode in Flowcode
- Replies: 6
- Views: 4936
Re: assemblycode in Flowcode
juhuuu 
now it works!
very big thanks!!!

now it works!
very big thanks!!!
- Thu Jan 24, 2008 4:34 pm
- Forum: Flowcode V2 & V3
- Topic: assemblycode in Flowcode
- Replies: 6
- Views: 4936
Re: assemblycode in Flowcode
PIC18F1320
- Thu Jan 24, 2008 4:33 pm
- Forum: Flowcode V2 & V3
- Topic: question about numbers in flowcode .asm file
- Replies: 1
- Views: 2304
question about numbers in flowcode .asm file
ORG 0x00300000
DW 0xC9FF
DW 0x1F0F
DW 0x00FF
DW 0xFF85
DW 0xC003
DW 0xE003
DW 0x4003
END
for what do this numbers or directives stands for in the flowcode assembly file?
they are listed at the bottom of the file
DW 0xC9FF
DW 0x1F0F
DW 0x00FF
DW 0xFF85
DW 0xC003
DW 0xE003
DW 0x4003
END
for what do this numbers or directives stands for in the flowcode assembly file?
they are listed at the bottom of the file
- Thu Jan 24, 2008 2:53 pm
- Forum: Flowcode V2 & V3
- Topic: assemblycode in Flowcode
- Replies: 6
- Views: 4936
Re: assemblycode in Flowcode
with my assembler programm, i whould use the LVD (Low Voltage Detect) Funktion in MPLAB, it works, but when i try to use the same code in flowcode it does not work... here is my assembler code i try to use (this code works in MPLAP): //with these lines, i initialise the LVD trip point MOVLW 0x1B ; E...
- Thu Jan 24, 2008 1:23 pm
- Forum: Flowcode V2 & V3
- Topic: assemblycode in Flowcode
- Replies: 6
- Views: 4936
assemblycode in Flowcode
hi, i tryed to implement an assembly code in my flowcode programm, but just "movlw" is working
if i try "movwf", "andwf" or "btfss" flowcode creates an error...
What do i do wrong?
(i use flowcode student version)
if i try "movwf", "andwf" or "btfss" flowcode creates an error...
What do i do wrong?
(i use flowcode student version)
- Thu Dec 20, 2007 10:29 am
- Forum: Flowcode V2 & V3
- Topic: RS-232 Code
- Replies: 8
- Views: 6499
- Thu Dec 20, 2007 10:24 am
- Forum: Flowcode V2 & V3
- Topic: ADC Problem
- Replies: 1
- Views: 2370
ADC Problem
Hi,I have a problem with ADC! Here is a picture from my flowchart http://img184.imageshack.us/img184/5386/picflowcodema2.png I devined Variable ADC_Value as Byte and Input is on A0 After sample (Makro=Sample ADC), i store the high-byte and return ADC_Value (Makro= Read as Byte) Then i check if ADC_V...
- Thu Dec 20, 2007 9:22 am
- Forum: Flowcode V2 & V3
- Topic: RS-232 Code
- Replies: 8
- Views: 6499
Re: RS-232 Code
I have exactly the same problemZARCOV wrote:Why my Student-Version FlowCode does not generate code for RS-232 implementing?

- Thu Nov 29, 2007 3:41 pm
- Forum: Flowcode V2 & V3
- Topic: Problem with rs232 and intern communication
- Replies: 3
- Views: 3556
Hello Andi As long as the radio connection is working correctly then you do not need a physical connection. It is possible to pass variables by using the RS232. Eg send an instruction byte and then a data byte. The receiver would read instruction byte and then know what to do with the data byte. th...
- Thu Nov 29, 2007 12:40 pm
- Forum: Flowcode V2 & V3
- Topic: Problem with rs232 and intern communication
- Replies: 3
- Views: 3556
Problem with rs232 and intern communication
hi all! To make clear my problem, i will try to describe my current project: I have 2 electronic devices which each is controlled by a pic. The first electronic circuit sends transmitts data via rs232 to a radio module. This modul sends the data to a 2nd radio module which receives the incoming data...