Search:

Type: Posts; User: RocketMan46

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    360

    Hi Salem, Thanks for your help. From you...

    Hi Salem,

    Thanks for your help.

    From you vast experience, and i think you previously posted you are an embedded programmer, and guessing the future would you personally stick to C only or...
  2. Replies
    4
    Views
    360

    Hi Salem, OK so i am going to make the jump...

    Hi Salem,

    OK so i am going to make the jump from C to C++. Would you fully understand data structures and pointers in C first, or move straight to C++. I do not really know how to approach...
  3. Replies
    4
    Views
    360

    Embedded Programming The Future

    Hi All,

    This is a programming question but i will just explain my work situation. I am an electronics/ embedded engineer working on 8 and 16 bit micros using embedded c. The job market seems to...
  4. Replies
    1
    Views
    235

    Possible Look Up Table Solution

    Hi,

    I am struggling to read an ADC value, offset this value then convert into a battery voltage.

    Below are my value:

    * ADC read range (0V - 5V) == (0 - 1023)

    * The ADC read range i am...
  5. Replies
    1
    Views
    302

    State Machines

    Hi All,

    I am struggling a little bit, and I am trying to find a good tutorial on table based state machines. I understand the switch case method is not preferred. Does anybody recommend a good...
  6. Replies
    1
    Views
    1,526

    Typecasting Problem

    Hi,

    I would like to convert an ADC 0-5V reading into a percentage value 0-100%. I have tried a couple of attempts below, and also tried in a flat C compiler using printf and I still get zero.
    ...
  7. Replies
    7
    Views
    734

    Hi Salem, No they are not all on the same I/O...

    Hi Salem,

    No they are not all on the same I/O port. If it is beneficial i could possibly modify to one port. Do you have a better solution?

    Thanks,

    Rocketman46
  8. Replies
    7
    Views
    734

    Hi Jim, Thanks for your reply. I am using a...

    Hi Jim,

    Thanks for your reply.

    I am using a 16bit micro running embedded c. I just tried to keep the question simple and c related.

    Cheers,

    Rocketman46
  9. Replies
    7
    Views
    734

    Reading Data Input

    Hi all,

    I need a bit of advice on the best and most efficient way to read 10 I/O pins. Main will be constantly scanning the pins and anytime one of the 10 pins goes logic high it will be required...
  10. Replies
    3
    Views
    600

    Hi Salem, So confirming there is no correct...

    Hi Salem,

    So confirming there is no correct answer, you would maybe stick with the harder languages C/ C++ and specialize?

    Embedded C/ Electronics engineers seem quite poorly paid for the...
  11. Replies
    3
    Views
    600

    Career Programming Direction

    Hi All,

    I am currently an embedded c programmer and I up for a language direction change. I would appreciate feedback on what is considered the boom area in programming, C++, Java, Android etc,...
  12. Replies
    1
    Views
    270

    Updating Code Block Version

    Hi,

    I am just about to update Code Blocks to the latest version on windows 8.1. Do I need to uninstall then reinstall, or just load the new version over the top of the old version.

    Thanks,
    ...
  13. Replies
    7
    Views
    2,563

    OK, I will try and write my own buffer and come...

    OK, I will try and write my own buffer and come back with my solution in steps.

    Currently I never use a debugger only print to screen in both windows and embedded. Would you say this is a major...
  14. Replies
    7
    Views
    2,563

    Hi Matticus, Thanks for your detailed reply,...

    Hi Matticus,

    Thanks for your detailed reply, that was very helpful.

    My next problem is, after reading numerous examples, I do not understand how to implement a circular buffer. Most examples...
  15. Replies
    7
    Views
    2,563

    Char Buffer

    Hi,


    I need some advise on how to implement a circular buffer, I do not really understand why it is used. I want to read a string from a 8 bit, 1 byte port on a micro. So if I read hello in on...
  16. Replies
    3
    Views
    371

    Hi, Thanks for your reply. So the below brief...

    Hi,

    Thanks for your reply. So the below brief example, when initialize() is called, only the FORD code will be implemented.

    Thanks

    Rocketman46
  17. Replies
    3
    Views
    371

    Preprocessor Directivies

    Hi all,

    I am struggling to understand how to implement the below preprocessor directives. If for example I want to use the FORD code, how would I use/ access this code. Do I put this code in...
  18. Replies
    5
    Views
    710

    Hi Mario F & Elysia, Thanks for your input. I...

    Hi Mario F & Elysia,

    Thanks for your input. I have done lots of reading and I found the below link listing the best 10 cross platform compilers. Numbers #4 cocos2d, #6 corona and #qt look...
  19. Replies
    5
    Views
    710

    C++ Phone App Development

    Hi All,

    Excuse me if I am posting this in the wrong area. I am an embedded C programmer and I am just about to develop an app for Android/ IOS. I would like to develop this in C++ or C. Reading...
  20. Replies
    6
    Views
    660

    Thank you for taking the time to look at my...

    Thank you for taking the time to look at my problem.

    OK so added below are four functions. The first two are the original that only return one variable and work correctly. The second two...
  21. Replies
    6
    Views
    660

    OK i can modify my functions to pass one...

    OK i can modify my functions to pass one parameter. But i would like to pass five parameters. I can make my code more compact if data() can return for example data2, data3, data4, data5. But i...
  22. Replies
    6
    Views
    660

    Thank you laserlight for your helpful tips. I...

    Thank you laserlight for your helpful tips.

    I will do some more reading and come back with my solution.
  23. Replies
    6
    Views
    660

    Function returning multiple data

    Hi Team,

    I am about to write a function and it will return 8 arrays. I have previously only written functions that return 1 array.

    Is it possible to do the below or am I doing this wrong? I...
  24. Replies
    3
    Views
    506

    Hi Matticus, Thanks for your detailed reply. ...

    Hi Matticus,

    Thanks for your detailed reply. Sorry for the initial lack of detail, I wanted to start with a brief overview.

    There will be one byte(8 bit) SPI bus between the master and 2 slave...
  25. Replies
    3
    Views
    506

    Large program organisation

    Hi All,

    I am just about to write a large program and I would like confirmation I am implementing it correctly. This is a c programming problem or though it is on an embedded system.

    The system...
Results 1 to 25 of 52
Page 1 of 3 1 2 3