Search found 787 matches

by Jan Lichtenbelt
Tue Oct 29, 2019 2:21 pm
Forum: Flowcode V8
Topic: Nice to know about gLCD_SSD1306_i2c1
Replies: 0
Views: 198

Nice to know about gLCD_SSD1306_i2c1

I made a program with a gLCD and a LCD(16x2). In the Flowcode the gLCD has been initialised first followed by the LCD. I programmed one microchip (16LF18857) and tried it out on 2 different PCB board and one breadboard with amazing results. On board the "Hello world" on the LCD screen was ...
by Jan Lichtenbelt
Wed Oct 23, 2019 11:42 am
Forum: E-blocks
Topic: ICSP cable length
Replies: 3
Views: 890

Re: ICSP cable length

Hi Martin

I tried the 4k7 resistance, but no better results, or even worse results.

Can it be the voltage level of Vpp?

Kind regards

Jan
by Jan Lichtenbelt
Tue Oct 22, 2019 2:22 pm
Forum: E-blocks
Topic: ICSP cable length
Replies: 3
Views: 890

ICSP cable length

I use the PIC multiprogrammer BL0080 in connection with the PIC16(L)F188857 microchip. The microchip is situated on another PCB board. To program the chip, I use an ICSP cable, but not always with success. Remark: There are no external components connected to B6 or B7 (ICSP data and Clock line) I st...
by Jan Lichtenbelt
Mon Oct 21, 2019 12:49 pm
Forum: Flowcode V8
Topic: I2C GLCD start problem
Replies: 10
Views: 475

Re: I2C GLCD start problem

I tried to get understanding the results shown on the gLCD: Reality.jpg It seems like the gLCD is not 64x128, but 32x128 I did also a simulation in Flowcode which resulted in: Simulation.jpg This looks more as expected for a 64x128 gLCD. Or is there something else what can explain the first picture?...
by Jan Lichtenbelt
Mon Oct 21, 2019 11:37 am
Forum: Flowcode V8
Topic: I2C GLCD start problem
Replies: 10
Views: 475

Re: I2C GLCD start problem

After adding 2 pull-up resistor of 1k8 (with 3V3 power supply), it works!

That made a happy for me.

Kind regards

Jan
by Jan Lichtenbelt
Mon Oct 21, 2019 9:38 am
Forum: Flowcode V8
Topic: I2C GLCD start problem
Replies: 10
Views: 475

Re: I2C GLCD start problem

Hello Martin(s) and Victor

Thanks a lot for all explanations. Now I have to find out why the display does not work. More research.

Kind regards

Jan
by Jan Lichtenbelt
Sun Oct 20, 2019 11:55 am
Forum: Flowcode V8
Topic: I2C GLCD start problem
Replies: 10
Views: 475

Re: I2C GLCD start problem

The RAM error has been disappeared using the 16LF18857 microchip. But now I met an other problem. The address is 0x3C ( https://www.okaphone.com/artikel.asp?id=484012 ) while the flowcode has only the choices between 0x78 and 0x7A. Does someone has a solution for this problem? Kind regards Jan Test_...
by Jan Lichtenbelt
Sat Oct 19, 2019 6:28 pm
Forum: Flowcode V8
Topic: I2C GLCD start problem
Replies: 10
Views: 475

Re: I2C GLCD start problem

Hi Martin,

Thanks a lot. I will try a microchip with more RAM

Kind regards

Jan
by Jan Lichtenbelt
Sat Oct 19, 2019 3:39 pm
Forum: Flowcode V8
Topic: I2C GLCD start problem
Replies: 10
Views: 475

I2C GLCD start problem

Hi,

I'm new in the field of I2C GLCD with SSD1306 driver. I start with showing one number, but I get the error
Test_I2C_LCD_V1.c: 209: (1250) could not find space (128 bytes) for variable _FCV_0cc51_gLCD_SSD1306_i2c1__DRAM0


What to do?

Kind regards

Jan
Test_I2C_LCD_V1.fcfx
(7.98 KiB) Downloaded 30 times
by Jan Lichtenbelt
Mon Sep 16, 2019 7:00 pm
Forum: Flowcode V8
Topic: C CODE TO FC8 CONVERSION
Replies: 2
Views: 273

Re: C CODE TO FC8 CONVERSION

Hi SILVESTROS9 Life would be easy if you could import such C-code directly into Flowcode. As far as I see, the c-code itself will not be the biggest problem. But this c-code uses libraries on line 63-66: #include "msp430f5132.h" #include "hal_tlv.h" #include<string.h> #include<st...
by Jan Lichtenbelt
Sat Sep 14, 2019 7:23 pm
Forum: Flowcode V8
Topic: BL0032 20x4 liniers LCD display with I2C
Replies: 6
Views: 560

Re: BL0032 20x4 liniers LCD display with I2C

Hi Monie,

Try to add a delay of at least 300 msec after the printstring.

Kind regards

Jan
by Jan Lichtenbelt
Fri Aug 30, 2019 8:14 pm
Forum: E-blocks
Topic: HP299 Flowkit ICD Tool
Replies: 0
Views: 467

HP299 Flowkit ICD Tool

I have the HP299 Flowkit ICD Tool. I never used it and I think I will never use it in future. Is someone interested? Mail me.

Kind regards

Jan
by Jan Lichtenbelt
Mon Aug 26, 2019 6:39 pm
Forum: E-blocks
Topic: Future request
Replies: 4
Views: 684

Re: Future request

Hi Ben I tried to find out which pins are there on the E-Block2 programmerboard BL0080 connector. The scheme shows: Hart-flex f connections on programmerboard BL0060.jpg But, by means of resistance measurements, I found: Harting connector on BL0080 programmer board.jpg The resistance is 27R, as expe...
by Jan Lichtenbelt
Thu Aug 22, 2019 11:12 am
Forum: E-blocks
Topic: Future request
Replies: 4
Views: 684

Re: Future request

Hi Ben

That will be nice. I hope you will find it.

Kind regards

Jan
by Jan Lichtenbelt
Tue Aug 20, 2019 3:26 pm
Forum: E-blocks
Topic: Future request
Replies: 4
Views: 684

Future request

To connect my own PCB's to the EBlock2 programmer board BL0080, I would suggest an adapter from the 16 pins connector to a 15 pins SUB-D. In the 16 pins connector, there are 2 pins with GND. One of them can be deleted in de sub-D 15p. I konw there is alreday an adpter to SUB-D 9 pins, but there the ...
by Jan Lichtenbelt
Sun Aug 04, 2019 10:08 am
Forum: Flowcode V8
Topic: Building string in one or more steps
Replies: 4
Views: 507

Re: Building string in one or more steps

Hi Martin

The second line declares the error result I get, which shows the Alarm_Time to preceed all other strings.

FCI_SHEAD(FCI_TMP_STR,20, FCI_TOSTRING(FCV_ALARM_TIME, FCI_TMP_STR,20),20, FCI_TMP_STR,20);


Kind regards

Jan
by Jan Lichtenbelt
Sat Aug 03, 2019 7:30 pm
Forum: Flowcode V8
Topic: Building string in one or more steps
Replies: 4
Views: 507

Building string in one or more steps

I wanted a string which is the sum of 4 other strings. First I did it in one step like STRING = str1+ str2+str3+str4 (1) This works in simulation, but gave the wrong result in practice with the microchip. Buiding the string step by step results in the correct string. Like STRING= str1 STRING= STRING...
by Jan Lichtenbelt
Sat Aug 03, 2019 7:23 pm
Forum: Bug Reports
Topic: Delete unsued variables, macros, etc not completly
Replies: 1
Views: 298

Delete unsued variables, macros, etc not completly

I used an old flowcode and deleted all variables, macro's etc. and added my new flowcode. But try to compile to HEX and see the errors.

Kind regards

Jan

Sorry Test_Timer1_V2.fcfx was the wrong file. This is the correct one.
Test_temp_str_V2.fcfx
(12.66 KiB) Downloaded 37 times
by Jan Lichtenbelt
Sat Aug 03, 2019 11:25 am
Forum: Flowcode V8
Topic: ICSP
Replies: 5
Views: 659

Re: ICSP

Hi Martin,

I used more microchips 16F18857. That can not be the reason. The config word is shown below. I use the same config word for programming the microchip on the programming board BL0080 and by means of ICSP. It is still a puzzle for me.
ConfigWord.jpg
ConfigWord.jpg (268.87 KiB) Viewed 522 times

Kind regards

Jan
by Jan Lichtenbelt
Fri Aug 02, 2019 1:48 pm
Forum: Flowcode V8
Topic: How to send GSM international phone code?
Replies: 9
Views: 879

Re: How to send GSM international phone code?

hi LeighM

Thanks for the reference. That is not easy stuff.

Kind regards

Jan
by Jan Lichtenbelt
Fri Aug 02, 2019 10:51 am
Forum: Flowcode V8
Topic: How to send GSM international phone code?
Replies: 9
Views: 879

Re: How to send GSM international phone code?

Hi chipfryer27 and LeighM

Thanks a lot. It is hard to find the UART SIM800L protocol. Up to now I do not find it. But it keeps me busy.

Kind regards

Jan
by Jan Lichtenbelt
Thu Aug 01, 2019 8:13 pm
Forum: Flowcode V8
Topic: How to send GSM international phone code?
Replies: 9
Views: 879

Re: How to send GSM international phone code?

Can someone help me with the problem of the error code 255 if a SMS has sent correctly?
I have the feeling that the return code is always 255, independent if the SMS has been sent correctly or not.

Kind regards

Jan
by Jan Lichtenbelt
Thu Jul 25, 2019 9:29 am
Forum: Feature Requests
Topic: automatically change local variable names
Replies: 2
Views: 466

Re: automatically change local variable names

Hi Ben


Rename_Local_Variables.jpg
Rename_Local_Variables.jpg (137.49 KiB) Viewed 445 times

Change variable names with left arrow procedure, changes all equal variables. Using the procedure with the right arrow, the variables does not change.
I always uses the last one, which resulted in my request.

Kind regards

Jan
by Jan Lichtenbelt
Wed Jul 24, 2019 1:38 pm
Forum: Flowcode V8
Topic: ICSP
Replies: 5
Views: 659

ICSP

ISCP is working fine with a 10 cm connection between the programming BL0080 board and the microchip 16F1847. If I exchange the microchip with the 16F18857, ISCP is not working correctly. Programming shows the procedure works correctly , but in practice the program does not work. In both cases the lo...
by Jan Lichtenbelt
Tue Jul 23, 2019 3:53 pm
Forum: Feature Requests
Topic: automatically change local variable names
Replies: 2
Views: 466

automatically change local variable names

If you change the name of a global variable, in all places of this variable in the program, the variable name will be changed at the same time. If you change the name of a local variable, the same variable in the macro does NOT change into the new name. Perhaps can the automatically change of local ...