Search found 115 matches

by keejay
Fri Apr 10, 2020 11:03 am
Forum: Flowcode V8
Topic: KS0108 gLCD working slowly
Replies: 7
Views: 3634

Re: KS0108 gLCD working slowly

Hi Ben, Thanks for the reply. I've managed to get the whole project working, but I'm not sure I quite understand what I've done :? Initially I had a 20MHz crystal and everything (BME280, GPS, KS0108 gLCD display, 4 x K-Type thermocouples and a quad encoder) all worked 100% - just that the gLCD was v...
by keejay
Tue Apr 07, 2020 9:48 pm
Forum: Flowcode V8
Topic: KS0108 gLCD working slowly
Replies: 7
Views: 3634

Re: KS0108 gLCD working slowly

OK thanks for your reply. I changed the 20MHz crystal to a 64MHz crystal and the screen's response is much better now. But now the GPS module thats feeding data in at 9600 baud doesnt work. I've checked the Mirochip data sheet and it's possible to achieve 9600 (well 9615 baud) with a 64MHz crystal. ...
by keejay
Tue Apr 07, 2020 1:05 pm
Forum: Flowcode V8
Topic: KS0108 gLCD working slowly
Replies: 7
Views: 3634

Re: KS0108 gLCD working slowly

Was there ever a solution to this slow operation of the gLCD screen? I'm busy with a project using a gLCD (KS0108) and am having the same problem. Everything works fine, except the screen updates very slowly.
by keejay
Mon Mar 30, 2020 12:15 pm
Forum: Flowcode V8
Topic: Compiling errors
Replies: 2
Views: 1488

Re: Compiling errors

Thanks, got it working.
by keejay
Mon Mar 30, 2020 10:00 am
Forum: Flowcode V8
Topic: Compiling errors
Replies: 2
Views: 1488

Compiling errors

Hi, I haven't done much work on Flow Code for a while. I've just started with a new project and am now suddenly getting a lot of errors when trying to compile to .hex. They all end with "Autoclose turned off". The latest program one was working fine until I added the GPS component. Even without usin...
by keejay
Fri Jul 19, 2019 2:47 pm
Forum: Flowcode V8
Topic: Assembly code
Replies: 2
Views: 2074

Assembly code

Hi there, I would like to set up Timer0 of a PIC18F46K22 as a counter. In order to do this, I need to set some timer0 configuration bits in order to configure the timer as a counter. I will also need to read the counted value from the timer register. I assume the only way to do this in flowcode is t...
by keejay
Wed Jun 26, 2019 1:59 pm
Forum: Flowcode V8
Topic: Flowcode 8.2 Released
Replies: 6
Views: 24148

Re: Flowcode 8.2 Released

Hi,

What is the process for installing FC8.2. Do I need to delete 8.1 first and then install 8.2 and then the 8.2 patch?
by keejay
Wed Feb 06, 2019 8:07 am
Forum: Flowcode V8
Topic: I2C LCD printing strings
Replies: 22
Views: 10417

Re: I2C LCD printing strings

With NO jumper on A0, A1 , A2 the address is x3F (or 63 decimal) - this works 100% for me.
by keejay
Tue Feb 05, 2019 7:39 am
Forum: Flowcode V8
Topic: I2C LCD printing strings
Replies: 22
Views: 10417

Re: I2C LCD printing strings

Hi Jorgen, It looks like you've added the I2C master component, but don't use it in the program, so its actually redundant. You can delete it and the program will still work exactly the same. I think the LCD I2C component has the built in I2C functionality without the need to make use of the I2C mas...
by keejay
Mon Feb 04, 2019 9:28 pm
Forum: Flowcode V8
Topic: I2C LCD printing strings
Replies: 22
Views: 10417

Re: I2C LCD printing strings

I've posted a FC that I quickly tested on actual hardware and works fine. I've always added a small delay before and after initializing a display to allow it to settle down before using it. I only do that once at the beginning of the program. Hope this helps...
by keejay
Mon Feb 04, 2019 7:41 am
Forum: Flowcode V8
Topic: I2C LCD printing strings
Replies: 22
Views: 10417

Re: I2C LCD printing strings

It often gets suggested on this forum to included a 1 second LED flasher in your flowcode to make sure that your basic program, config bits and timing are all correct. Then one can have a look at things like hardware connections and components properties. That's about all I can suggest without seein...
by keejay
Mon Feb 04, 2019 7:02 am
Forum: Flowcode V8
Topic: ESP8266 RESPONSES
Replies: 2
Views: 1994

Re: ESP8266 RESPONSES

Or is there maybe a specific version of the firmware (considering there are so many different versions) that the ESP8266 component works best with?
by keejay
Sun Feb 03, 2019 11:23 am
Forum: Flowcode V8
Topic: I2C LCD printing strings
Replies: 22
Views: 10417

Re: I2C LCD printing strings

If you post your program here I can have a look at it as I've used those modules very successfully. Just check that you have the correct I2C address in the properties menu. I used 63 as the LCD address, Baud Select 400kHz.
by keejay
Sat Feb 02, 2019 7:28 am
Forum: Flowcode V8
Topic: ESP8266 RESPONSES
Replies: 2
Views: 1994

ESP8266 RESPONSES

Hi,

When I used the ESP8266 component in FC6, it was possible to modify the expected ESP responses in ESP8266 properties. In FC8 I don't see this option. How would I modify the ESP8266 responses in FC8?

Thanks
by keejay
Fri Jan 18, 2019 9:41 am
Forum: Flowcode V8
Topic: Watch Dog Timer
Replies: 3
Views: 2470

Re: Watch Dog Timer

It appears as though

ClrWdt();

compiles without errors
by keejay
Fri Jan 18, 2019 9:10 am
Forum: Flowcode V8
Topic: Watch Dog Timer
Replies: 3
Views: 2470

Re: Watch Dog Timer

If I disable all the clear_wdt(); then the programs compiles successfully.
by keejay
Thu Jan 17, 2019 10:22 pm
Forum: Flowcode V8
Topic: Watch Dog Timer
Replies: 3
Views: 2470

Watch Dog Timer

Hi, I'm getting a compile error when I try to clear the watch dog timer with C-Code block. It worked great in version 6. I'm using: clear_wdt(); and get the following error when I try an compile the program in FC8: C:\ELECTR~1\PROJECTS\G_Lert\SOFTWA~1\V2>C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\batc...
by keejay
Tue Jan 01, 2019 11:40 am
Forum: Flowcode V8
Topic: Colour graphic display
Replies: 0
Views: 3728

Colour graphic display

Hi,

I am staring a new project and would like to make use of a colour display. I'd like to use a display that is somewhere in the region of 5-7 inches in size. Since flowcode supports quite a few displays, I was wondering if anyone has used a colour display that works well with flowcode?

Thanks
by keejay
Mon Dec 17, 2018 7:07 pm
Forum: Flowcode V8
Topic: Switching an output with ESP8266
Replies: 7
Views: 3946

Re: Switching an output with ESP8266

Thanks Benj, I've made some progress. It seems like it is looking for an initial state for %1, %2, %3, so if I manually type the following into the address bar (which clicking on the submit button should do): 192.168.4.1/process.html?s=1 then it responds correctly and thereafter everything works 100%.
by keejay
Sun Dec 16, 2018 3:34 pm
Forum: Flowcode V8
Topic: Switching an output with ESP8266
Replies: 7
Views: 3946

Re: Switching an output with ESP8266

Hi, The issue seems to be that the %1, %2, %3 variables (index.html) are not functioning. For example, when I click on the "submit", the "get" request is generated, but without the value for 's'... 192.168.4.1/process.html?s= is being sent, so the '0' or the '1' is not being attached to the URL. If ...
by keejay
Thu Dec 13, 2018 9:04 pm
Forum: Flowcode V8
Topic: Switching an output with ESP8266
Replies: 7
Views: 3946

Re: Switching an output with ESP8266

Hi Benj,

Thanks for the reply. I've made the changes that you suggested, but the output is still the same. I've attached the FC8 file. Any more suggestions?

Thanks
by keejay
Wed Dec 12, 2018 10:21 pm
Forum: Flowcode V8
Topic: Switching an output with ESP8266
Replies: 7
Views: 3946

Switching an output with ESP8266

Hi, I was reading the following blog as I have very little knowledge of web servers etc: https://www.matrixtsl.com/blog/internet-of-things-made-simple-example-of-web-page-controlled-relay/ and decided to have a go at it. I seem to be quite close, but the web page isn't quite behaving as expected. I ...
by keejay
Wed Sep 26, 2018 8:09 am
Forum: Flowcode V8
Topic: ESP 32
Replies: 2
Views: 2479

Re: ESP 32

Hi Benj, Thanks for your reply. I firmly believe that due to the ESP32’s powerful functionality, there will be a large number of people making use of this chip and could possibly be of great financial benefit to Matrix to support it with FC. I for one have no intention of upgrading to FC8, but if th...
by keejay
Sun Sep 23, 2018 6:02 pm
Forum: Flowcode V8
Topic: ESP 32
Replies: 2
Views: 2479

ESP 32

Hi guys,

I recall reading on the V7 forum (I think) something about upcoming support for the ESP32 in V8. Is this correct and if so, has there been any progress?

Thanks
by keejay
Thu Mar 29, 2018 12:30 pm
Forum: Flowcode V6
Topic: ESP8266 AT Commands
Replies: 3
Views: 3787

Re: ESP8266 AT Commands

Hi Benj,

Have you managed to make any progress on adding a function to the ESP8266 component w.r.t. to returning a string response from the ESP8266?