Program space strings

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can any point me to some documentation or examples of how to set and use program space strings. basically how to declare them. The documentation seems ok on how to use just a bit unclear on how to declare.

many thanks

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oops read the FAQ.... question answered.

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Declaration :

unsigned char __ATTR_PROGMEM__ MENU_WATERTYPE_DISP[3][20] = {
" Manuel/ingen ",
" Vandingstider ",
" Vandingsinterval "};

Calling :

lcd_putchar(PRG_RDB(&(MENU_WATERTYPE_DISP[i][j])));//Read data from program memory

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thank you

admin's test signature