Search found 22 matches
- Mon Mar 05, 2012 4:11 pm
- Forum: Flowcode V5 Issues
- Topic: Problem with var bool
- Replies: 6
- Views: 6238
Re: Problem with var bool
Thank's very much for your quick help and teach.
- Mon Mar 05, 2012 3:26 pm
- Forum: Flowcode V5 Issues
- Topic: Problem with var bool
- Replies: 6
- Views: 6238
Re: Problem with var bool
Sorry if J don't understand your answere.
J use for compiling boostc delivered with FlowCode.
In FlowCode simulation leds are blinking with Debug = 0 or Debug = 1.
J use for compiling boostc delivered with FlowCode.
In FlowCode simulation leds are blinking with Debug = 0 or Debug = 1.
- Mon Mar 05, 2012 2:19 pm
- Forum: Flowcode V5 Issues
- Topic: Problem with var bool
- Replies: 6
- Views: 6238
Re: Problem with var bool
Thank's for the quick answer.
The problem is that in simutation there is no difference !
The problem is that in simutation there is no difference !
- Mon Mar 05, 2012 11:22 am
- Forum: Flowcode V5 Issues
- Topic: Problem with var bool
- Replies: 6
- Views: 6238
Problem with var bool
With the attached code if Debug =0 Leds are always ON, if Debug = 1 they are blinking.
Debug = 0 use var bool, Debug = 1 use Int.
Doe's my coding is frong in using var bool ?
Debug = 0 use var bool, Debug = 1 use Int.
Doe's my coding is frong in using var bool ?
- Wed Feb 29, 2012 10:31 am
- Forum: Flowcode V5 Issues
- Topic: Init string var
- Replies: 1
- Views: 2904
Init string var
J create a var MyVar[12] and init it in the project expolrer as "1234567890AB"
Compile give the error: "Too many initializers"
If J change MyVar[12] to MyVar[13] or if J init it with "" compiling is OK.
Compile give the error: "Too many initializers"
If J change MyVar[12] to MyVar[13] or if J init it with "" compiling is OK.
- Wed Feb 29, 2012 10:10 am
- Forum: Flowcode V5 Issues
- Topic: Problem with FC5_PIC_FAT16.c
- Replies: 7
- Views: 9147
Re: Problem with FC5_PIC_FAT16.c
J did a few tests, it seem to be OK.
Thank's.
Thank's.
- Tue Feb 28, 2012 8:08 am
- Forum: Flowcode V5 Issues
- Topic: Problem with FC5_PIC_FAT16.c
- Replies: 7
- Views: 9147
Re: Problem with FC5_PIC_FAT16.c
EB006-00-7 + EB037-00-1 + PIC18F4525 + FC 5.1 + SD Card Fat 16 (4 pieces):
Init_Fat() always return 255 !
Thank's for a quick help.
Init_Fat() always return 255 !
Thank's for a quick help.
- Tue Feb 28, 2012 8:00 am
- Forum: E-blocks
- Topic: ZIF PICmicro issues
- Replies: 15
- Views: 12679
Re: ZIF PICmicro issues
"a small number of faulty units have been shipped in error" !
How many have been shipped not faulty ?
"we will contact you and the other recipients shortly" !
My first mail about this pb is dated 9 february 2012 !
How many have been shipped not faulty ?
"we will contact you and the other recipients shortly" !
My first mail about this pb is dated 9 february 2012 !
- Fri Feb 17, 2012 5:26 pm
- Forum: Flowcode V5
- Topic: Patch upgrade from v5.0 to 5.1
- Replies: 25
- Views: 22699
Re: Patch upgrade from v5.0 to 5.1
Patch for french is OK.
Thank's.
Thank's.
- Wed Feb 15, 2012 9:20 am
- Forum: Flowcode V5
- Topic: Patch upgrade from v5.0 to 5.1
- Replies: 25
- Views: 22699
Re: Patch upgrade from v5.0 to 5.1
Same problem for french.
Thank's.
Thank's.
- Mon Feb 13, 2012 3:16 pm
- Forum: General Programming
- Topic: Programming failed 18F45K22
- Replies: 17
- Views: 11708
Re: Programming failed 18F45K22
J have the same problems with 18F46K22.
Using EB-006-00-7 and FlowCode V5, !MCLR disabled, Single-Supply ICSP disabled.
Using EB-006-00-7 and FlowCode V5, !MCLR disabled, Single-Supply ICSP disabled.
- Thu Feb 02, 2012 3:30 pm
- Forum: Flowcode V5 Issues
- Topic: Problem with FC5_PIC_FAT16.c
- Replies: 7
- Views: 9147
Re: Problem with FC5_PIC_FAT16.c
Compiling OK.
Merci.
Merci.
- Thu Feb 02, 2012 3:22 pm
- Forum: Flowcode V5 Issues
- Topic: Problem with Macro that return a string
- Replies: 1
- Views: 3938
Problem with Macro that return a string
Compiling Test01.fcf to HEX give the error:
Test01.c(128:11): error: ',' expected
In Test01.c J read:
void FCM_HM2Txt2(MX_CHAR* FCR_RETVAL, MX_UINT8 FC_HM2TXT2_SZ_RETURN)
{
MX_CHAR
//Calcul
//Calcul:
// .Return = "abcdef"
FCI_SCOPY("abcdef",6, FCR_RETVAL,FC_HM2TXT2_SZ_RETURN);
}
What the ...
Test01.c(128:11): error: ',' expected
In Test01.c J read:
void FCM_HM2Txt2(MX_CHAR* FCR_RETVAL, MX_UINT8 FC_HM2TXT2_SZ_RETURN)
{
MX_CHAR
//Calcul
//Calcul:
// .Return = "abcdef"
FCI_SCOPY("abcdef",6, FCR_RETVAL,FC_HM2TXT2_SZ_RETURN);
}
What the ...
- Thu Feb 02, 2012 3:11 pm
- Forum: Flowcode V5 Issues
- Topic: Problem with FC5_PIC_FAT16.c
- Replies: 7
- Views: 9147
Problem with FC5_PIC_FAT16.c
Compil to C OK but error while compiling to HEX.
-1 In MX_UINT8 Scan_Current_Folde r:
if (Read_Byte_From_Buffer((Idx) + 2) == 0x00)
return MX_ACK_FILEEMPTY; //Address is empty
in MX_SINT16 FCD_FAT160_Scan_Current_Folder:
if (Read_Byte_From_Buffer((Idx) + 2) == 0x00)
return MX_ACK_FILEEMPTY ...
-1 In MX_UINT8 Scan_Current_Folde r:
if (Read_Byte_From_Buffer((Idx) + 2) == 0x00)
return MX_ACK_FILEEMPTY; //Address is empty
in MX_SINT16 FCD_FAT160_Scan_Current_Folder:
if (Read_Byte_From_Buffer((Idx) + 2) == 0x00)
return MX_ACK_FILEEMPTY ...
- Tue Feb 17, 2009 4:00 pm
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 34335
Re: Multi One Wire Example
Ok to add the file to the main one wire example download.
J made an other change in the macro TempToStr.
In the Custom_Code.c J rename CUSTOM_Dummy_Function() to ONEW_Dummy_Function() because of a conflict with other component.
J made an other change in the macro TempToStr.
In the Custom_Code.c J rename CUSTOM_Dummy_Function() to ONEW_Dummy_Function() because of a conflict with other component.
- Tue Feb 17, 2009 1:55 pm
- Forum: Components (Other)
- Topic: LCD display 16x4
- Replies: 13
- Views: 15483
Re: LCD display 16x4
Tests OK.
The new code you send works fine with my 16x4 LCD dispaly.
The new code you send works fine with my 16x4 LCD dispaly.
- Sun Feb 15, 2009 6:21 pm
- Forum: Components (Other)
- Topic: LCD display 16x4
- Replies: 13
- Views: 15483
Re: LCD display 16x4
J got my LCD from "Electronique Diffusion", http://www.elecdif.com.
Ref. for ElecDif is "OPLCD4X16C".
Ref. on the display is "ECM 1604C-RN-YBS".
J can't find doc. on web for this display.
It works fine with the change J made.
Ref. for ElecDif is "OPLCD4X16C".
Ref. on the display is "ECM 1604C-RN-YBS".
J can't find doc. on web for this display.
It works fine with the change J made.
- Sun Feb 15, 2009 6:10 pm
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 34335
Re: Multi One Wire Example
Sorry J found an other bug in my 1WMultiDS.fcf.
In macro TempToStr, for DS18B20 and negative temperature, the resulte was
1 Β°C too low.
In macro TempToStr, for DS18B20 and negative temperature, the resulte was
1 Β°C too low.
- Sat Feb 14, 2009 8:12 am
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 34335
Re: Multi One Wire Example
2 errors corrected in 1WMultiDS.fcf
Switch D0 erased (No use).
In macro TempToStr, bit 0 does'nt add 625 to rest.
Switch D0 erased (No use).
In macro TempToStr, bit 0 does'nt add 625 to rest.
- Tue Feb 10, 2009 10:45 am
- Forum: Components (Other)
- Topic: LCD display 16x4
- Replies: 13
- Views: 15483
LCD display 16x4
With a 16x4 lcd display lines 2 and 3 are shifted of 4 postitions.
J modifie LCDDisplay_Code.c and now it's ok.
Old code:
void Cursor(char x, char y)
{
/*Macro_Curseur_Start*/
/*Macro_Cursor_Start*/
#if (%j == 1)
y=0x80;
#endif
#if (%j == 2)
if (y==0)
y=0x80;
else
y=0xc0;
#endif
#if ...
J modifie LCDDisplay_Code.c and now it's ok.
Old code:
void Cursor(char x, char y)
{
/*Macro_Curseur_Start*/
/*Macro_Cursor_Start*/
#if (%j == 1)
y=0x80;
#endif
#if (%j == 2)
if (y==0)
y=0x80;
else
y=0xc0;
#endif
#if ...
- Tue Jan 13, 2009 2:45 pm
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 34335
Re: Multi One Wire Example
Hello Ben.
J used to read temps 8 x DS18 (5 x DS18S20 and 3 x DS18B20).
Only 2 to 4 DS18 were detected.It depend of wich DS18 were connected.
So j ad a macro called 1W_get_IDByte, 2 param (Num of the device and num of the byte to be return).
It return the byte of the lasered rom code stored in ...
J used to read temps 8 x DS18 (5 x DS18S20 and 3 x DS18B20).
Only 2 to 4 DS18 were detected.It depend of wich DS18 were connected.
So j ad a macro called 1W_get_IDByte, 2 param (Num of the device and num of the byte to be return).
It return the byte of the lasered rom code stored in ...
- Sat Jan 10, 2009 8:13 am
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 34335
Re: Multi One Wire Example
J am french, sorry for my english.
After a lot of test, j found bugs in NEXT code.
Attached OneWireMultiDS.zip with: Custom_Code_1W_get_IDByte.c, that is custom_code.c modified with one macro added.
1WMultiDS.fcf for test.
After a lot of test, j found bugs in NEXT code.
Attached OneWireMultiDS.zip with: Custom_Code_1W_get_IDByte.c, that is custom_code.c modified with one macro added.
1WMultiDS.fcf for test.