Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Thanks for your help.
---------- Post added at 07:19 ---------- Previous post was at 07:14 ----------
Hi Aravind,
what do you mean by "Survive" here.
You passed the statement that this non-sense ques. Lot of peoples here send appropriate replies except you.
If you think that this is or any...
Dear All,
Pls guide me to start on open sources like omap, open max.
I do not have any idea about that. So, please tell me from where to start.. Initial material for reading.
I mean to overall usage of microcontroller at the time when several processes are running..
---------- Post added at 08:56 ---------- Previous post was at 08:53 ----------
Could you please tell me, if I'm not using RTOS then how microcontroller/CPU load would be 100% all the time?
Re: How to return an Array to a function?
Thanks for the reply, it works. Is there any harm to return an local array?
Also please describe me how it works(above solution)?
Dear All,
Please tell me how to retun an array to a function. For e.g. i want to print Name
class office{
char name[4];
int emp;
public:
void set_name(char *n);
char get_name();
void set_emp(int e);
int get_emp();
};
void Office::set_name(char *n)
{
memcpy(&name,n,4); //Is it right
}
void...
When i am compiling my MPLab(microchip's) code without defining the heap size it gives me the error/linker error, i have to define around 500bytes for heap.
Can you also please tell me what are the advantages & disadvantages for using malloc() function (for allocating dynamic memory) in...
Hi All,
As i know that a RAM consists of several segements like Text segment for program, data segment for initialised global variables, bss segment for uninitialised global variables, stack for local variables and heap. Now my question is, this is the standard which every memory follows or...
Actually i read that we should ignore the dynamic memory allocation when we write the software for microcontrollers.. Is it true?
And how we can define the heap size and why we have to define the size for heap. For eg. I have 30K of RAM, then how much size i can allocate to heap and why?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.