Search:

Type: Posts; User: Player777

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    277

    When I set same priority for all task's then...

    When I set same priority for all task's then result of all task's should be same but when I ran my code I am not getting such result





    /* FreeRTOS.org includes. */
    #include...
  2. Replies
    5
    Views
    277

    No it's different. I am trying to figure out how...

    No it's different. I am trying to figure out how long tasks are executing
  3. Replies
    5
    Views
    277

    Free rtos code example 1

    I am looking help to understand free rtos example code. I am trying to figure out how scheduler works in the following code


    /* FreeRTOS.org includes. */#include "FreeRTOS.h"
    #include "task.h"...
  4. I have started reading user manual of FreeRTOS....

    I have started reading user manual of FreeRTOS. You said start with paper and pencil. Can you explain little bit how to start?

    Do you mean to draw flowchart, block diagram, state diagram etc.
  5. I am not thinking of making real time operating...

    I am not thinking of making real time operating system. I just want to understand the process of how multiple files work together to decide which task should be run on schedule time. Like if you have...
  6. How to write code for round robin scheduling

    How to write code for round robin scheduling

    I want to write code for round robin scheduling

    16386


    #include<stdio.h>

    int main(void)
  7. Replies
    4
    Views
    260

    When I was beginner I was having trouble to write...

    When I was beginner I was having trouble to write code for microcontroller but now I can write code for any peripheral of microcontroller. I can write code for whatever device is connected with...
  8. Replies
    4
    Views
    260

    sure I will start with paper and pencil but I...

    sure I will start with paper and pencil but I don't have any idea how to start with top down approach. Can you help me
  9. Replies
    4
    Views
    260

    Top design- real time operating system

    There are two approaches can use in software design and implementation:

    Top-down design
    Bottom-up design

    I want to follow Top-down approach to design RTOS

    For Example:
  10. Replies
    4
    Views
    364

    Thank you Salem for saving me from big trouble. I...

    Thank you Salem for saving me from big trouble. I understand completely now

    There are many type of scheduling. Is it type of preemptive scheduling? I think yes
  11. Replies
    4
    Views
    364

    I am trying to understand the concept of Real...

    I am trying to understand the concept of Real Time Scheduling System. I tried my best to understand the basics. I have read chapters of many books, also saw many tutorial, watched videos but I still...
  12. Replies
    4
    Views
    364

    How do you design scheduler ?

    I am working on embedded system. I want to write a c program to make simple real time scheduler. System can do multiple task's. scheduler decides which task can run at a given time.

    I am trying...
  13. Replies
    4
    Views
    620

    I want to reverse them in place Imagine...

    I want to reverse them in place

    Imagine numbers are stored as following

    0x00 = 1
    0x01 = 2
    0x02 = 3
    0x03 = 4
    0x04 = 5
  14. Replies
    4
    Views
    620

    reverse number printing

    I have written program that suppose to print reverse number for given size


    #include<stdio.h>

    int reverse ( int *p, int a[5])
    {
    int i = 5;
    for ( i = 5; i > 0; i--)
    {
  15. Replies
    2
    Views
    1,162

    When we should avoid use of volatile

    volatile means value of variable may be change at anytime

    In example, compiler know that foo is set to 0 and compiler will never look into while loop but by external even when foo become 1 then...
  16. Can the extern be used only in the different...

    Can the extern be used only in the different source file or can it be used in the same source file?
  17. Thank you ! The program gives me the output that...

    Thank you ! The program gives me the output that I wanted But my understanding has been failed to understand the extern keywords

    I though if any variable is declared in function and If we want to...
  18. I do not understand your answer program should...

    I do not understand your answer program should supposed to give result 3 but it's give error so how to get result 3
  19. How to use variable in main function that is declare in other function ?

    If I want to use variable in main function that is declare in another function so How to do that, for example x is declare in function foo but I want to use it in main function so I am making it...
  20. what is difference between global extern variable and local extern variable ?

    I am not clear about the life time and scope of global extern variable and local extern variable

    extern may be local or global. What is difference between local extern and global extern...
  21. Thank you salem modified version int...

    Thank you salem

    modified version



    int a; //Global variable


    static int b; // Static Global variable
  22. what is difference between global variable and static variable in the context of life

    I am not clear about the life time of global variable and static variable I think both initialize only once and stay alive for life time of program

    what is difference between global variable...
  23. Replies
    3
    Views
    1,259

    Thanks okay but I don't understand the reason...

    Thanks okay but I don't understand the reason behind this why we can't use short /long with char ?

    as I know if we want to modify the size of variable we can use modifier short, long
  24. Replies
    3
    Views
    1,259

    short char and long char

    Hi

    int variable take four byte, short int take two byte and long int take eight bytes

    the same char takes one byte so long char should be take 2 bytes

    so I wrote program to get result

    ...
  25. Replies
    3
    Views
    1,300

    #include union example { int...

    #include <stdio.h>

    union example
    {
    int x;
    char y;
    float z;
    };
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4