Search:

Type: Posts; User: RocketMan46

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    12,435

    Hi, I am kinda bouncing off the rev limiter...

    Hi,

    I am kinda bouncing off the rev limiter here trying to work this through. I come from C and this is a bit different.

    So 'Plane' and 'Passenger' classes are now separated, and 'Plane'...
  2. Replies
    10
    Views
    12,435

    Hi, Yes i agree, are you therefore saying the...

    Hi,

    Yes i agree, are you therefore saying the 'plane' class shouldn't inherit from the 'passenger' class. I am still trying to get up to speed with OOP. I do not fully understand what i need to...
  3. Replies
    10
    Views
    12,435

    Hi laserlight, Thank you for your help and...

    Hi laserlight,

    Thank you for your help and advice. I have drafted out my basic example and added the code below - it is such a small program i thought it would be easier to add the code and then...
  4. Replies
    10
    Views
    12,435

    Hi, I will try and explain a different way....

    Hi,

    I will try and explain a different way. Below is picture of a basic plane seat layout. I want to be able to book for example seat A1 to (Name: Fred, Age: 21, Food: Fish & Chips).

    So i...
  5. Replies
    10
    Views
    12,435

    Vectors and Classes

    Hi All,

    I am quite new to c++ and getting a better understanding of classes and vectors. I have decided to write an airplane booking program to add and remove passengers onto a plane. So my...
  6. Replies
    4
    Views
    10,111

    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...
  7. Replies
    4
    Views
    10,111

    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...
  8. Replies
    4
    Views
    10,111

    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...
  9. Replies
    1
    Views
    4,394

    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...
  10. Replies
    1
    Views
    4,261

    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...
  11. Replies
    1
    Views
    6,860

    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.
    ...
  12. Replies
    7
    Views
    4,182

    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
  13. Replies
    7
    Views
    4,182

    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
  14. Replies
    7
    Views
    4,182

    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...
  15. Replies
    3
    Views
    3,185

    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...
  16. Replies
    3
    Views
    3,185

    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,...
  17. Replies
    1
    Views
    401

    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,
    ...
  18. Replies
    7
    Views
    13,269

    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...
  19. Replies
    7
    Views
    13,269

    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...
  20. Replies
    7
    Views
    13,269

    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...
  21. Replies
    3
    Views
    544

    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
  22. Replies
    3
    Views
    544

    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...
  23. Replies
    5
    Views
    1,209

    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...
  24. Replies
    5
    Views
    1,209

    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...
  25. Replies
    6
    Views
    869

    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...
Results 1 to 25 of 57
Page 1 of 3 1 2 3