Array larger 1024 Bytes

Status
Not open for further replies.

zas

New Member
Hallo, I am Trying with the AVR Compiler to write some Bytes into the Programm Memory for example a Sine Tab or some Wave. It have to be larger then 1kByte. How must i code it, is it possible? The BASIC Compiler Reference Manual says: That an array of Byte variables can contain up to 1024 elements.

In C I have to define const array with no byte limit.
 
If you are using Oshonsoft he already has sin covered.. Cos, Arccos, Arcsin, Tan etc....
 
Thank you for the answer. Yes I use Oshonsoft. The Sin Tab is a example. The Point is that I want to burn many Bytes in the Controller.
I try to play with PWM an Sound generating. It's quite plain to me that the Program Memory is not large enough. Currently its only for experiments.

An other Way is to use an external EEPROM.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…