Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Problem putting text on display stored at #pragma cdata.IDENTIFIER

Status
Not open for further replies.

masoud23

New Member
Hi
I am trying to find the error cause in a code that is not min. So sorry if my description is incomplit. Program displays an array on a display. This is how part of the code looks likes:
Code:
#define __00  0x00C000
#pragma cdata[__00]  

#pragma cdata.M_RUM = "1	RUM	ROOM	RAUM	KAMER	PIECE	SALA	STANZA	ROM	RUM	HUONE	TUBA	POKÓJ	M?STNO.	"

But on display I can only see up till the nines value in the” #pragma cdata.M_RUM”, also: “RUM” the rest just comes up as strange characters. Can someone see if it is something wrong with this part of the code?

Tanks in advace
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top