Search found 116 matches

by stewartbaker
Tue Jan 07, 2014 1:22 pm
Forum: Flowcode V6
Topic: i2c LCD Component
Replies: 18
Views: 12548

Re: i2c LCD Component

Hi John, Just got my "Backpack" from Hobbytronics. It works well, and looks like it will make things much easier on the basic LCD front. I tried the generic i2c LCD component, but it did not work. Looking at the data with a Logic Analyser showed all the codes are wrong, being for some other display....
by stewartbaker
Tue Jan 07, 2014 9:22 am
Forum: Flowcode V6
Topic: I2C EEPROM
Replies: 5
Views: 3597

Re: I2C EEPROM

That was the problem.

Many thanks

Stewart
by stewartbaker
Mon Jan 06, 2014 6:04 pm
Forum: Flowcode V6
Topic: I2C EEPROM
Replies: 5
Views: 3597

Re: I2C EEPROM

Ah !

That may well be the answer. I will try modified code tomorrow and let you know if that fixes it.

Many thanks

Stewart
by stewartbaker
Mon Jan 06, 2014 5:38 pm
Forum: Flowcode V6
Topic: I2C EEPROM
Replies: 5
Views: 3597

Re: I2C EEPROM

Hi Benj,
The pull ups are both 1k, and the EEPROM is a 24C08WP. A0 is tied high, the other address pins low.

Looking with a logic analyser the first data read back is a NULL. Whether this is what was stored, or a misread I don't know.

Cheers
Stewart
by stewartbaker
Mon Jan 06, 2014 3:41 pm
Forum: Flowcode V6
Topic: I2C EEPROM
Replies: 5
Views: 3597

I2C EEPROM

To try and gain some understanding of I2C I have been playing with the EEPROM R/W example. I have made a few small changes to make it easier for me to understand. However, there is one issue I have yet to get to the bottom of. When reading then writing to my hardware EEPROM the contents are one loca...
by stewartbaker
Thu Jan 02, 2014 4:10 pm
Forum: Programming Tips & Tricks
Topic: KS0108 Graphical LCD
Replies: 8
Views: 10523

Re: KS0108 Graphical LCD

Yes, I found this as well.

3rd time of happening :-)

Stewart
by stewartbaker
Tue Dec 31, 2013 7:22 pm
Forum: Flowcode V6
Topic: i2c LCD Component
Replies: 18
Views: 12548

Re: i2c LCD Component

Hi John,
That looks interesting, and I will be following how you get on.

It is probably an overkill for what I want to do, which is to source a simple and cheap interface to the very common
Hitachi HD44780 display interface.

Cheers
Stewart
by stewartbaker
Tue Dec 31, 2013 5:28 pm
Forum: Flowcode V6
Topic: i2c LCD Component
Replies: 18
Views: 12548

Re: i2c LCD Component

Hi, Getting fed up using many pins and wiring to drive 2x16 LCD's so thought I might try an i2c one. I don't know what particular i2c LCD V6 FC supports. Is it a generic one that can be modified ? I have been looking at a PCB that attaches on the back of an LCD module as this seems to give a lot of ...
by stewartbaker
Fri Dec 06, 2013 12:14 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

Hi Jonny, That example is OK now, and I see what is happening. Unfortunately, it is now getting rather confusing to me as I am used to a more defined approach. There are a lot of new processes to understand, which are unlike any I have been previously exposed to. I find that I learn best by taking s...
by stewartbaker
Thu Dec 05, 2013 5:57 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

Wrong file format again...

Stewart
by stewartbaker
Thu Dec 05, 2013 5:14 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

In Flowcode you can 'snapshot' the position of an object. If you store this in a 'handle' variable the snapshot will exist as long as the handle does. You can then manipulate the position (in this case by rotating by 30 degrees) and at any point write that back to the component. OK. I think :| Butt...
by stewartbaker
Thu Dec 05, 2013 4:55 pm
Forum: Feature requests
Topic: Save Component Debug tick box state
Replies: 2
Views: 2973

Re: Save Component Debug tick box state

That would be good.

Stewart
by stewartbaker
Wed Dec 04, 2013 2:32 pm
Forum: Feature requests
Topic: Save Component Debug tick box state
Replies: 2
Views: 2973

Save Component Debug tick box state

It would be nice if the state of the Component debugging tick boxes were saved when the document was saved.

Stewart
by stewartbaker
Wed Dec 04, 2013 10:24 am
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

Hi Jonny, Many thanks for the examples. I see how the linking to the target can be either direct or programmatically. Also how the axis are specified and that Z would give a rotational control. The second example was quite straightforward, however the 3rd will take me a bit of time to assimilate. Ho...
by stewartbaker
Tue Dec 03, 2013 6:53 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

OK, that's fine now. I can see the objects in the tree structure, the linking between ButtonCtrl1 and led_5mm_clip1. Also the constituent parts of the LED. I note that clicking on the LED makes it move like a button. Tried a Pot Red Knob as a target instead. Boy that's cool ! So, the ButtonHelper li...
by stewartbaker
Tue Dec 03, 2013 3:55 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

Hi,
Unfortunately something is wrong with the file.

When loading gave error message:-
Failed to open document.
Attribute <start> is not found

S.
by stewartbaker
Tue Dec 03, 2013 2:57 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

OK, I see. That (3-state switch) sounds like quite a good step-by-step project to document creation of on our forums here. Hi, Yes, I think that is a good idea. The process will help me, and I suspect a number of others. I found the 'Expose full component tree in property pane' in the Component deb...
by stewartbaker
Tue Dec 03, 2013 9:13 am
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

Ah ! The quickness of the video editing deceives the eye :-) Thought that I was going mad (not for the first time)... Thanks for your help on short cuts, I should now be able to make progress. I am finding information about component creation other than shape manipulation a little sparse. A few exam...
by stewartbaker
Mon Dec 02, 2013 10:18 am
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

Hi Jonny, Thanks for your prompt reply and the information. The point in the video where I am stuck is at time 09.06. It maybe that I don't have a setting right, but duplicate only gives another property entry, not the additional 3 as in the video. I really want to get a much better grip on how to m...
by stewartbaker
Sun Dec 01, 2013 6:45 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 33184

Re: Component Creation Video Tutorial

HI Benj, To get me started on component creation I tried following your video tutorial. It was not easy, however I managed to get as far as where you use "Duplicate" for the Ev_Property and Motor Pins. When I try it all I get with duplicate is a single additional property and no extra sim entries in...
by stewartbaker
Fri Nov 29, 2013 11:51 pm
Forum: Flowcode V6
Topic: Components gone - Patch V6.0.4.0
Replies: 2
Views: 2748

Re: Components gone - Patch V6.0.4.0

Phew !
It helps to read all of the release documentation. I only read the bits about switching off the ruler and the 3D panel ...

Thanks

Stewart
by stewartbaker
Fri Nov 29, 2013 5:11 pm
Forum: Flowcode V6
Topic: Components gone - Patch V6.0.4.0
Replies: 2
Views: 2748

Components gone - Patch V6.0.4.0

A number of useful components including toggle switches seem to have disappeared in the clear-up associated with the latest patch.

Stewart
by stewartbaker
Fri Nov 29, 2013 11:10 am
Forum: Flowcode V6
Topic: Compile problems - V6 Patch 6.0.4.0
Replies: 5
Views: 3851

Re: Compile problems - V6 Patch 6.0.4.0

Hi Jonny, Thanks for your prompt reply and explanation. I can fully understand how, as more functionality is added to Flowcode these sort of issues become more difficult to anticipate. Looking forward to the fix. regards Stewart B.T.W is there someone at Matrix who is conversant with using Flowcode ...
by stewartbaker
Fri Nov 29, 2013 9:40 am
Forum: Flowcode V6
Topic: Compile problems - V6 Patch 6.0.4.0
Replies: 5
Views: 3851

Re: Compile problems - V6 Patch 6.0.4.0

Hi,
Thanks for your reply, and looking forward to the patch.

Aren't there rather a lot of components embedded inside other components ?

Does this issue affect them all ?

regards

Stewart
by stewartbaker
Thu Nov 28, 2013 11:59 am
Forum: Flowcode V6
Topic: Compile problems - V6 Patch 6.0.4.0
Replies: 5
Views: 3851

Compile problems - V6 Patch 6.0.4.0

Hi,
I get the following error message when compiling.

Advanced Noise Canceller_v6_3.c(946:6): error: Function 'FCD_00c10_solenoid_base1__TurnOn' already has a body

Simulation works OK.

Cheers

Stewart