Search found 12 matches
- Sat May 11, 2013 7:21 pm
- Forum: Flowcode V5 Issues
- Topic: Error reading ADC channel 5 and 6 routine, PIC 16F684
- Replies: 2
- Views: 8612
Re: Error reading ADC channel 5 and 6 routine, PIC 16F684
In reviewing the code and discovered that simulate without error, as implemented did not know the function of selection, thanks for your attention.
- Fri May 10, 2013 12:57 am
- Forum: Flowcode V5 Issues
- Topic: Error reading ADC channel 5 and 6 routine, PIC 16F684
- Replies: 2
- Views: 8612
Error reading ADC channel 5 and 6 routine, PIC 16F684
; { FC_CAL_Enable_ADC ; function begin MOVLW 0x07 ANDWF FC_CAL_Ena_0006D_arg_Conv_Speed, W MOVWF CompTempVar2234 SWAPF CompTempVar2234, W ANDLW 0xF0 MOVWF gbl_adcon1 BCF STATUS, RP0 MOVF FC_CAL_Ena_0006D_arg_Channel, W XORLW 0x00 BTFSC STATUS,Z GOTO label23 XORLW 0x03 BTFSC STATUS,Z GOTO label24 XOR...
- Fri Jul 13, 2012 7:14 pm
- Forum: Flowcode V5 Issues
- Topic: LIN BUS PIC16F684, unknown identifier 'TMR0IF'
- Replies: 1
- Views: 2366
LIN BUS PIC16F684, unknown identifier 'TMR0IF'
DRVL_16F684v10.c(1802:24): error: unknown identifier 'TMR0IF' DRVL_16F684v10.c(1802:24): error: invalid operand 'TMR0IF' Definition of 'TMR0IF' is not defined for the PIC16F684 microcontroller, when I use the slave linbus component for a micro PIC18F45K20 works well. add the following line to correc...
- Fri Jun 15, 2012 3:34 am
- Forum: Flowcode V5
- Topic: Create a table with more than 256 byte of data
- Replies: 4
- Views: 3298
Re: Create a table with more than 256 byte of data
Thanks, so I will.
- Thu Jun 14, 2012 10:51 am
- Forum: Flowcode V5
- Topic: Create a table with more than 256 byte of data
- Replies: 4
- Views: 3298
Re: Create a table with more than 256 byte of data
Hello thanks for replying, I create multiple tables and as an image I had to do a lot. when I compile the project is a single table, use the instruction (TBLRD *) to read. GOTO label6 MOVLW UPPER( label27 ) MOVWF TBLPTRU MOVLW HIGH( label27 ) MOVWF TBLPTRH MOVLW LOW( label27 ) MOVWF TBLPTRL label6 M...
- Thu Jun 14, 2012 5:47 am
- Forum: Flowcode V5
- Topic: Create a table with more than 256 byte of data
- Replies: 4
- Views: 3298
Create a table with more than 256 byte of data
Create a table with more than 256 byte of data, micro pic18F45K20, Using (TBLRD *).
If u can help me with an example would be of great help.
Thanks
If u can help me with an example would be of great help.
Thanks
- Fri Jun 08, 2012 8:20 am
- Forum: Flowcode V5 Issues
- Topic: ushort with error function type definition
- Replies: 3
- Views: 3183
Re: ushort with error function type definition
the variable type (ushort) was defined by Flowcode, to create a new macro of type integer. when you try copilar gave error, undefined variable. agrege the definition of new type and compile correct. I just want you in Flowcode check where is the error for not being manually adding the definition of ...
- Wed Jun 06, 2012 8:13 am
- Forum: Flowcode V5 Issues
- Topic: ushort with error function type definition
- Replies: 3
- Views: 3183
ushort with error function type definition
when you create a function in Flowcode v5, void Address_set (ushort x1, y1 ushort, ushort x2, y2 ushort) The unsigned integer variable is not set, I had to add the following code (ushort typedef unsigned int;), to compile correctly
- Sat Apr 14, 2012 9:45 am
- Forum: Flowcode V5 Issues
- Topic: Error when compiling LIN-BUS with 2 or more Messages
- Replies: 4
- Views: 3824
Re: Error when compiling LIN-BUS with 2 or more Messages
hello
Thanks, problem solved
Thanks, problem solved
- Fri Apr 13, 2012 6:47 am
- Forum: Flowcode V5
- Topic: typedef union and struct
- Replies: 1
- Views: 2098
typedef union and struct
hello how I can define the following structure in C code to Flowcode. The following example gives me compile error, missing bracket. Flowcode1.c(1364): error: missing right brace typedef union ELINMINT_MESSAGE_SIZE { unsigned char SIZE; struct { unsigned SIZE0:1; unsigned SIZE1:1; unsigned SIZE2:1; ...
- Fri Apr 13, 2012 6:25 am
- Forum: Flowcode V5 Issues
- Topic: Error when compiling LIN-BUS with 2 or more Messages
- Replies: 4
- Views: 3824
Re: Error when compiling LIN-BUS with 2 or more Messages
fails to compile if you have more of a message defined in slave linbus. with version 4 does not give me the error. File name: C:\Users\Emilio\Documents\proyectos flowcode\verion_5\Pruebas\Flowcode1.c Title: Description: Generated by: Flowcode v5.1.0.0 Date: Thursday, April 12, 2012 23:24:48 Licence:...
- Tue Apr 10, 2012 8:23 pm
- Forum: Flowcode V5 Issues
- Topic: Error when compiling LIN-BUS with 2 or more Messages
- Replies: 4
- Views: 3824
Error when compiling LIN-BUS with 2 or more Messages
hello when using the LIN-bus module with 2 or more Messages I receive the following error when compiling. NOTE: The same program works well, Flowcode 4 xxxx.c(1402:28): error: unknown identifier 'LIN_S_17_LINS_MSG1_ID' xxxx.c(1402:28): error: invalid operand 'LIN_S_17_LINS_MSG1_ID' xxxx.c(1402:26): ...