array access in C code
Posted: Wed Apr 23, 2008 9:17 am
Hello
I am using the AVR programmer with an Atmega32 and the LCD E-Block. Then I use the Custom Component to implement a lookup table called aSineWave inside the GetDefine dummies.
In the Custom Component function TestWave I try to access this array, but I do not get anywhere. I tried to print it out on the LCD, but it seems to be everytime 0 and am now out of options to get it running, so that I would like you to have a look at the Flowcode file and my edited Custom Component file.
thanks in advance
cheers,
nils
PS: I will use this later on to feed a DAC chip with the SPI, and found out that nothing changed at the SPI output :/ and sorry for posting it first in the ARM forum, was a bit confused yesterday because of this not so trivial problem.
edit: see next post for my files.
I am using the AVR programmer with an Atmega32 and the LCD E-Block. Then I use the Custom Component to implement a lookup table called aSineWave inside the GetDefine dummies.
In the Custom Component function TestWave I try to access this array, but I do not get anywhere. I tried to print it out on the LCD, but it seems to be everytime 0 and am now out of options to get it running, so that I would like you to have a look at the Flowcode file and my edited Custom Component file.
thanks in advance
cheers,
nils
PS: I will use this later on to feed a DAC chip with the SPI, and found out that nothing changed at the SPI output :/ and sorry for posting it first in the ARM forum, was a bit confused yesterday because of this not so trivial problem.
edit: see next post for my files.