GLDC SH1106!

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

GLDC SH1106!

Post by jgu1 »

Hi Team!

In a project I want to use one of these tiny display. First I bougth an I2c and made a test, it work fine, but when I see other who had used them with Arduino IDE it is very slow programmed with FC8 no change when I increase the Baudrate.
Then I bougth a SPI and make the same test, It is a little bit faster but still slow compared with others who used Arduino IDE. Even if I set the Fosc/4.

Is there something I forgot in config or properties or is it max speed FC8 can do with these devices, please. :wink:

BR Jorgen
Attachments
SSH1106SPI.fcfx
(9.57 KiB) Downloaded 197 times
SSH1106.fcfx
(9.51 KiB) Downloaded 179 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: GLDC SH1106!

Post by Benj »

Hi Jorgen,

I've had a go at optimising the clear function for the I2C and SPI versions of the component and pushed them to the v8 update system.

Hardware SPI will probably be your fastest option.

Let me know how you get on.

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

Re: GLDC SH1106!

Post by jgu1 »

Hi Ben!

Thank´s for your try and effort. Maybe a little bit faster, but still not as fast when I see other project with arduino IDE, but ok. :D

After update, I discover a new component, BBC weatherforecast/observasation, what can we do with this (jae, weatherforecast of course :lol: )
but how to use, please?

Thank´s in advance.

Br jorgen.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: GLDC SH1106!

Post by Benj »

Hello,

Thanks for letting me know. Glad it is slightly faster. I'll see if I can find anything else to help with the speed.

Here is an example for the observation component and another for the forecast. You can connect the network comms component up to some of the TCP/IP components to allow it to work on embedded.
BBCWeatherDemo.fcfx
(14.21 KiB) Downloaded 196 times
BBCWeatherForecastDemo.fcfx
(16.98 KiB) Downloaded 174 times
Both components are also now n the Wiki if you need any help with the macros or properties.

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

Re: GLDC SH1106!

Post by jgu1 »

Waow Ben, thank´s. I will have a look.

Br Jorgen

Post Reply