Search found 12 matches

by ngmflowcode
Wed Feb 13, 2013 11:32 pm
Forum: Flowcode V5
Topic: Getting Started Help: LED Array based on Single Integer
Replies: 6
Views: 1430

Re: Getting Started Help: LED Array based on Single Integer

Hi If you add an eeprom component then read /write to it in code you should see the changes on the panel, search the forums as there are a couple of eeprom write examples which simulate well Regards Dazz I noticed that but it doesn't apply when developing a system that requires I2C protocol. -NGM
by ngmflowcode
Wed Feb 13, 2013 10:27 pm
Forum: Flowcode V5 Suggestions
Topic: I2C Slave Simulation
Replies: 3
Views: 3399

I2C Slave Simulation

It would be great if one could add an I2C Slave device (keep it simple, let's say you offer us an EEPROM for now) that can be simulated in the panel. Basically an I2C device that we can read and write to and manually edit it's contents if desired. This would offer a little more power than the Bytes ...
by ngmflowcode
Wed Feb 13, 2013 10:20 pm
Forum: Flowcode V5
Topic: Getting Started Help: LED Array based on Single Integer
Replies: 6
Views: 1430

Re: Getting Started Help: LED Array based on Single Integer

Dear ngm Try this. Jan Lichtenbelt Hi Jan, Thanks for the example. Let me comment piece by piece in sections: Initialize I2C | Start I2C | I think there needs to be another I2C operation here in which we issue the address that we want to read from is there a way to simulate an EEPROM in fc? | Read ...
by ngmflowcode
Wed Feb 13, 2013 9:28 pm
Forum: Flowcode V5 Suggestions
Topic: Add "Else If" to Decision Block
Replies: 2
Views: 4097

Add "Else If" to Decision Block

Was excited to try out Flowcode and was disappointed to see no "Else If" equivalent in the Decision block. I don't know how Flowcode is built but I would hope this is a relatively non complicated feature to add. Right now, one needs to use multiple Decisions daisy chained after one another...
by ngmflowcode
Wed Feb 13, 2013 8:49 pm
Forum: Flowcode V5
Topic: Getting Started Help: LED Array based on Single Integer
Replies: 6
Views: 1430

Re: Getting Started Help: LED Array based on Single Integer

Even though you have posted in 'Flowcode V5 Free Edition' section are you using Flowcode V5 Free?
If so you will be unable to compile Flowchart that uses I2C to hex or send to your target device via EB006 programming Eblock for example.


Just purchased the full version.

-NGM
by ngmflowcode
Wed Feb 13, 2013 8:45 pm
Forum: Flowcode V5 Free Edition
Topic: How to implement "else if" in Decision
Replies: 7
Views: 6306

Re: How to implement "else if" in Decision

So I basically need to hand code this in C? It's not that difficult, but I thought this would be a basic feature in Flowcode.

-NGM
by ngmflowcode
Wed Feb 13, 2013 8:42 pm
Forum: Flowcode V5
Topic: Is the AVR Dragon Programmer Supported?
Replies: 6
Views: 1828

Re: Is the AVR Dragon Programmer Supported?

There are some examples on this page, not sure if it is enough.

http://support.atmel.com/bin/customer.e ... try&id=686

Despite being in the free forum, we now own a full AVR Flow Code 5 version license.

-NGM
by ngmflowcode
Sun Feb 03, 2013 6:56 am
Forum: Flowcode V5 Free Edition
Topic: How to implement "else if" in Decision
Replies: 7
Views: 6306

Re: How to implement "else if" in Decision

From the documentation it is looking like I do need to use the switch block, however operators like =, >, <, etc... don't seem to work here. In addition, only constants appear in the drop down, it does not list the Global variables. This is what I thought would work, but my syntax is wrong: http://i...
by ngmflowcode
Sun Feb 03, 2013 6:32 am
Forum: Flowcode V5 Free Edition
Topic: How to implement "else if" in Decision
Replies: 7
Views: 6306

How to implement "else if" in Decision

I noticed a simple ability to create "if" statements with the Decision block, but I can't figure out how to do multiple conditions without using multiple decision blocks. In C, one can write an if statement with multiple else if's but I don't see that option here. Maybe the switch would be...
by ngmflowcode
Sun Feb 03, 2013 2:21 am
Forum: Flowcode V5
Topic: Getting Started Help: LED Array based on Single Integer
Replies: 6
Views: 1430

Getting Started Help: LED Array based on Single Integer

Here's a little pseudo code for what I am looking to do and could use some help implementing this in flowcode. Do I need to use a switch, a decision and a calculation for this? Read an integer over I2C and store as my_value If (my_value < 26){ LED1 = ON LED2 = OFF LED2 = OFF} else if (my_value > 26 ...
by ngmflowcode
Wed Jan 30, 2013 6:20 pm
Forum: Flowcode V5
Topic: Is the AVR Dragon Programmer Supported?
Replies: 6
Views: 1828

Re: Is the AVR Dragon Programmer Supported?

I apologize, it was an issue with the refresh in my browser.

-NGM
by ngmflowcode
Wed Jan 30, 2013 5:27 pm
Forum: Flowcode V5
Topic: Is the AVR Dragon Programmer Supported?
Replies: 6
Views: 1828

Is the AVR Dragon Programmer Supported?

Is the AVR Dragon Programmer and ICD supported?

-NGM