• Declaring (initializing) array without size
    Hi! I'm having some problems declearing an array. I am trying to make an array that contains messages that I will later display on an LCD display. I am using a 2D char array, but I don't want to specify...
  • array of constants in flash memory
    Hello! I need to use a large table of const in my project. I need to locate this constants in concrete adresses on Flash and to access const value by pointing to adress. What is the simpliest way to do...
  • Declaring structure as extern
    I am using a structure named my_struct which is to be declared as extern. struct my_struct{ int a; int b; }; struct my_struct first; struct my_struct second; How do I declare the structure...
  • How to declare a structure?
    I define an area of memory that in 'non-volatile' so it doesn't get cleared on powerup. I do this is a module called memmap.asm like this: MyData DS 512 ;Located at 0x801C In another module, I want...
  • bad structure declaration?
    i'm trying to create an array of structures but when i make more than a handful my robot doesn't work. so in main.h i have typedef struct SPid { int dState; // Last position input int iState;...