## Search found 7 matches

Wed May 14, 2014 3:14 pm
Forum: Programming Tips & Tricks
Topic: Look-Up Tables Tutorial
Replies: 52
Views: 44544

### Re: Look-Up Tables Tutorial

No problem. I can follow the document just fine. I have simplified flowchart and cheated a bit. LUT values on 8 bit chips are only 8 bit wide Therefore only numbers 0 to 255 can be used. On the over voltage side you wanted 260,265,270,275 & 280 So what I did was subtract 50 from each number, th...
Tue May 13, 2014 11:31 am
Forum: Programming Tips & Tricks
Topic: Look-Up Tables Tutorial
Replies: 52
Views: 44544

### Re: Look-Up Tables Tutorial

So SW_ST1 & SW_ST1 will have a value e.g 10, so you want to retrieve the 10th number within the look-up table? One thing I have noticed is you have a calculation like this: SW_ST1 = (SW_A * 4) + (SW_B * 2) + (SW_C) You will have errors if SW_A, SW_B or SW_C are Bool. You will need to change Boo...
Mon May 05, 2014 10:00 pm
Forum: Programming Tips & Tricks
Topic: Look-Up Tables Tutorial
Replies: 52
Views: 44544

### Re: Look-Up Tables Tutorial

Hi vonskyes, If you post what you have done so far, then I will have a look at you Flowchart, and let you know where your going wrong. Maritn Hi martin, sorry for my late reply have been tied up at work. I will post my flowchart later today so u can have a look at what I have done so far. Thanks. I...
Mon May 05, 2014 4:20 pm
Forum: Programming Tips & Tricks
Topic: Look-Up Tables Tutorial
Replies: 52
Views: 44544

### Re: Look-Up Tables Tutorial

medelec35 wrote:Hi vonskyes,
If you post what you have done so far, then I will have a look at you Flowchart, and let you know where your going wrong.

Maritn

Hi martin, sorry for my late reply have been tied up at work. I will post my flowchart later today so u can have a look at what I have done so far. Thanks.
Mon Apr 28, 2014 3:03 pm
Forum: General Programming
Topic: Little Help with Lookup Table
Replies: 19
Views: 9454

### Re: Little Help with Lookup Table

hi guys, Thanks for all your tips and LUTs they have been helpful. But somehow i am still having problem with mine and i need you thoughts on this. I am relatively new to flowcode, started a few months back so i don't know my way around much. i have a table where i am comparing two values switch sta...
Mon Apr 28, 2014 2:36 pm
Forum: General Programming
Topic: Little Help with Lookup Table
Replies: 19
Views: 9454

### Re: Little Help with Lookup Table

Hi Jorden, There is one thing vital to remember when it comes to look-up tables If you have 58 sets of numbers, then your result before retrieving LUT must never exceed LUT Quantaty -1 i.e. 58-1 = 57 E.g. If you have several sets of numbers assigned to variable called lut_data: rom char* lut_data =...
Mon Apr 28, 2014 12:15 am
Forum: Programming Tips & Tricks
Topic: Look-Up Tables Tutorial
Replies: 52
Views: 44544

### Re: Look-Up Tables Tutorial

I thought I would put together a basic tutorial on Look-up tables. I have Benj to thanks as I first read about LUT here: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=26&t=3543&#p5509 I thought I would try and write a tutorial form a different perspective. Thanks werner for spott...