Search found 790 matches

by Jan Lichtenbelt
Sun Jun 09, 2019 2:16 pm
Forum: Flowcode V6
Topic: SIM800L
Replies: 13
Views: 12908

Re: SIM800L

Dear Enrique

Initilising the SIM800L gives directly code 255 (no reply). What does it means? No good communication between the microchip and the SIM800L? Or can there be an other reason?

Kind regards

Jan
by Jan Lichtenbelt
Sat Jun 08, 2019 6:45 pm
Forum: Flowcode V8
Topic: Bluetooth interaction with mobile phone
Replies: 36
Views: 17779

Re: Bluetooth interaction with mobile phone

Hi Martin,

I will try it.

Thanks

Jan
by Jan Lichtenbelt
Sat Jun 08, 2019 4:01 pm
Forum: Flowcode V6
Topic: SIM800L
Replies: 13
Views: 12908

Re: SIM800L

I used the simple flowcode from Enrique SIM800_HOLA.fcfx. But initialising the GSM module SIM800L gives the message "No reply"(255). The red LED on the GSM module stays flickering. Has someone an idea what is wrong? I used a SIM card from my mobile phone, which needs in the phone a code. Is that a s...
by Jan Lichtenbelt
Mon Jun 03, 2019 12:09 pm
Forum: Flowcode V8
Topic: Bluetooth interaction with mobile phone
Replies: 36
Views: 17779

Re: Bluetooth interaction with mobile phone

Hi Martin, I changed the exchange of information between the microchip and the phone. Now in principal, only data (strings) will be send from the microchip to the phone. But what I see on the phone is that strings are combined together. E.g. I send 100 and sometime later 110. That will be shown on t...
by Jan Lichtenbelt
Mon May 20, 2019 1:13 pm
Forum: Flowcode V8
Topic: Bluetooth interaction with mobile phone
Replies: 36
Views: 17779

Re: Bluetooth interaction with mobile phone

I think I get a little bit older. I forgot to exchange the Rx and Tx pins of the microchip and the bluetooth unit. Now it works fine.

Kind regards

Jan
by Jan Lichtenbelt
Sat May 18, 2019 7:48 pm
Forum: Flowcode V8
Topic: Bluetooth interaction with mobile phone
Replies: 36
Views: 17779

Re: Bluetooth interaction with mobile phone

In the connections of a microchip to a cellular phone, there are two important issues: 1) Connection between the cellular phone and the Bluetooth unit. If not connected the red LED on the Bluetooth unit is flashing. If connected the red LED is continuously on. 2) the connection between the microchip...
by Jan Lichtenbelt
Fri May 17, 2019 4:30 pm
Forum: Flowcode V8
Topic: Bluetooth interaction with mobile phone
Replies: 36
Views: 17779

Re: Bluetooth interaction with mobile phone

I made a small extension to the android aia and apk file: apk_extension.jpg that means directly after the bluetooth has been connected a "s" character will be send to the microchip. Therefor I extended Martin's flowcode file UPF2.fcfx file into UPF_1847_V2.fcfx file with a while loop waiting for thi...
by Jan Lichtenbelt
Thu May 16, 2019 3:52 pm
Forum: Flowcode V8
Topic: Timer0
Replies: 3
Views: 2724

Re: Timer0

Hi Ben, That works OK now. The timer0 works correctly. But the timer1 was a factor 4 times faster as expected. The problem could be solved by changing the clock source from Fosc to Fosc/4. But flowcode showed in both cases the same frequency. In case Fosc will be choosen, the frequency must be 61.03...
by Jan Lichtenbelt
Thu May 16, 2019 1:10 pm
Forum: Flowcode V8
Topic: Timer0
Replies: 3
Views: 2724

Timer0

I use the Timer0 with a very low frequency of 134 seconds. In the simulation it works fine, but with the microchip I get only 2 seconds, see flowcode.
Test_Timer0_V1.fcfx
(11.92 KiB) Downloaded 260 times
Who can help me?

Kind regards

Jan
by Jan Lichtenbelt
Tue May 14, 2019 3:44 pm
Forum: Flowcode V8
Topic: Division by 10 easy?
Replies: 5
Views: 3641

Re: Division by 10 easy?

In the meanwhile I found the solution. All real numbers have positive rounding errors, while 1.4 has been calculated with an negative error with results 1.399...... The 3 lift characters will result into 1.3 instead of 1.4

Kind regards

Jan
by Jan Lichtenbelt
Tue May 14, 2019 3:18 pm
Forum: Flowcode V8
Topic: Division by 10 easy?
Replies: 5
Views: 3641

Division by 10 easy?

I have a simple counter from 1 to 20. But I need the counter diviede by 10. Counter is A_byte and the 10th part is A_real. The simulation works correctly. But the microchip has different ideas about this 'problem'. All numbers are correct, except A_byte=14 and A_real should be 1.4. The reality is, s...
by Jan Lichtenbelt
Fri May 10, 2019 1:25 pm
Forum: Bug Reports
Topic: scroll
Replies: 0
Views: 4290

scroll

Scrolling in a macro with PAGE UP and PAGE DOWN does not work with my Flowcode 8.2.

Kind regards

Jan
by Jan Lichtenbelt
Thu May 09, 2019 7:32 pm
Forum: Flowcode V8
Topic: priority of operators
Replies: 0
Views: 4499

priority of operators

Using 2 bytes words like Uint (0 to 65535) and Int (-32768 to 32767) special care has to be taken if the low- and high byte are needed. This is e.g. in case of using EEPROM (with only bytes). Say the 2 bytes variable is A and the low byte is A_low and the high byte is A_high. 1) To find the low- and...
by Jan Lichtenbelt
Thu May 09, 2019 10:36 am
Forum: Bug Reports
Topic: Link to macro
Replies: 0
Views: 4411

Link to macro

Clicking on "OK & Edit Macro" does not work anymore
Clipboard10.jpg
Clipboard10.jpg (60.61 KiB) Viewed 4411 times
Kind regards

Jan
by Jan Lichtenbelt
Thu May 09, 2019 9:30 am
Forum: Bug Reports
Topic: Missing selection icons Flowcode 8.2
Replies: 2
Views: 2226

Re: Missing selection icons Flowcode 8.2

I do not know why, but the second time using Flowcode 8.2 it is working correctly.

Kind regards

Jan
by Jan Lichtenbelt
Wed May 08, 2019 6:53 pm
Forum: Bug Reports
Topic: Missing selection icons Flowcode 8.2
Replies: 2
Views: 2226

Missing selection icons Flowcode 8.2

Clipboard01.jpg
Clipboard01.jpg (44.01 KiB) Viewed 2213 times
Kind regards

Jan
by Jan Lichtenbelt
Wed May 08, 2019 10:13 am
Forum: Flowcode V8
Topic: I2C problems with 16LF18857
Replies: 4
Views: 2945

Re: I2C problems with 16LF18857

Hi Ben

You wrote:
you should be able to set the pins by directly editing the SDA and SCL properties
what do you mean with "directly editing"

Kind regrads

Jan
by Jan Lichtenbelt
Mon May 06, 2019 11:01 am
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4830

Re: Bug on I2C lCD

Dear ylanchec

Show us the flowcode and perhaps someone can help you with the software

Kind regards

Jan
by Jan Lichtenbelt
Mon May 06, 2019 10:58 am
Forum: Flowcode V8
Topic: I2C problems with 16LF18857
Replies: 4
Views: 2945

Re: I2C problems with 16LF18857

It took a while to find a solution. This microchip 16(L)F18857 has (as usually) 2 sets of I2C ports C3 SCLK1, C4 SDAT1, B1 SCLK2 and B2 SDAT2 with low and high levels special for I2C. Other ports (TTL levels) can be used for I2C also. This can be done by means of software setting (settings of specia...
by Jan Lichtenbelt
Sat May 04, 2019 8:25 pm
Forum: Flowcode V8
Topic: I2C problems with 16LF18857
Replies: 4
Views: 2945

I2C problems with 16LF18857

I use the C0 port for SCL and the C1 port for the SDAT of the 16LF18857 microchip. It didn't work, so I made a test Flowcode, see attachment. 1) Before starting the I2C, the C0 and C1 ports are tested with level 1 and 0 each second. The ports work correctly. 2) The second step is to compare the beha...
by Jan Lichtenbelt
Sat May 04, 2019 8:12 pm
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4830

Re: Bug on I2C lCD

Hi ylanchec

RW should always be at 0V (or GND). It is better to remove the conenction to P1 of the microchip.

Kind regards

Jan Lichtenbelt
by Jan Lichtenbelt
Wed Apr 17, 2019 2:40 pm
Forum: Feature Requests
Topic: Back to prevoius macro
Replies: 2
Views: 2806

Re: Back to prevoius macro

Hi Martin, Correct, if you rember the original macro name, it is easy to find the place were you left the original macro. But my general practice is that I mostly forget the orginal macro name (perhaps I get a little bit old). In that case it would be nice that a simple left-button will bring me bac...
by Jan Lichtenbelt
Wed Apr 17, 2019 1:39 pm
Forum: Flowcode V8
Topic: I2C problems
Replies: 1
Views: 1313

Re: I2C problems

Sorry, I forgot the pull up resistances on the SDAT and SCL of the I2C IC.
by Jan Lichtenbelt
Wed Apr 17, 2019 1:27 pm
Forum: Feature Requests
Topic: Back to prevoius macro
Replies: 2
Views: 2806

Back to prevoius macro

I have a lot of macro's. Let say Macro A until Z. Some macro's can be found on top of the screen. Others can be found by (horizontal) scrolling. When I follow a program step by step I reach macro F, sooner or later I met a Macro call to macro U [SAY POINT 1 of the program]. To follow the process can...
by Jan Lichtenbelt
Wed Apr 17, 2019 1:01 pm
Forum: Flowcode V8
Topic: I2C problems
Replies: 1
Views: 1313

I2C problems

I have a flowcode working correctly with an I2C IC. Now I made a new hardware and now flowcode stops in communication with in IC. The first sotware step is to initilise the I2C. The next step in the start the IC. So far so good. The third step is to send the salve address. But here the programm stop...