Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Does Bob have an Embedded page?

Does Bob have an Embedded page?

Scheduled Pinned Locked Moved The Lounge
c++hardwarequestion
26 Posts 9 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    Maybe this is what you are looking for: CodeProject Stuff[^]

    G Offline
    G Offline
    glennPattonPub
    wrote on last edited by
    #6

    Ok I deserved that.

    L 1 Reply Last reply
    0
    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

      I think the question is about where to post a question about embedded systems... :sigh:

      "If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg

      G Offline
      G Offline
      glennPattonPub
      wrote on last edited by
      #7

      Well in all fairness I need to ask a question on C programming to make sure I am not missing something. I was in the middle of writing a document (not related) and thought :bob: might know. So in all fairness I deserved the trolling.

      H 1 Reply Last reply
      0
      • Greg UtasG Greg Utas

        Richard, Richard. I don't think I've seen you troll anyone before. :-D

        Robust Services Core | Software Techniques for Lemmings | Articles
        The fox knows many things, but the hedgehog knows one big thing.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #8

        Well, pardon me for trying. The title of the question led me to believe that Glenn is looking to embed a pictire of Bob somewhere.

        Greg UtasG 1 Reply Last reply
        0
        • G glennPattonPub

          Ok I deserved that.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #9

          See my reply to Greg above.

          G 1 Reply Last reply
          0
          • G glennPattonPub

            Hi All, Do we have an Embedded page or shall I ask in C/C++ forum..? Glenn.

            D Offline
            D Offline
            den2k88
            wrote on last edited by
            #10

            Try pinging honey the codewitch directly, probability is she'd be the only one to answer anyway :D

            GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

            G 1 Reply Last reply
            0
            • L Lost User

              Well, pardon me for trying. The title of the question led me to believe that Glenn is looking to embed a pictire of Bob somewhere.

              Greg UtasG Offline
              Greg UtasG Offline
              Greg Utas
              wrote on last edited by
              #11

              He did wonder if should post in the C/C++ forum, hence my conclusion.

              Robust Services Core | Software Techniques for Lemmings | Articles
              The fox knows many things, but the hedgehog knows one big thing.

              <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
              <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

              L 1 Reply Last reply
              0
              • Greg UtasG Greg Utas

                He did wonder if should post in the C/C++ forum, hence my conclusion.

                Robust Services Core | Software Techniques for Lemmings | Articles
                The fox knows many things, but the hedgehog knows one big thing.

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #12

                I guess I wasn't really looking to closely.

                1 Reply Last reply
                0
                • L Lost User

                  See my reply to Greg above.

                  G Offline
                  G Offline
                  glennPattonPub
                  wrote on last edited by
                  #13

                  Nope, I know our little Green friend! I remember see stuffed Bob's somewhere... has he been licensed?

                  1 Reply Last reply
                  0
                  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                    If it is more about the hardware part - you should go here: https://www.codeproject.com/Forums/186301/Hardware-Devices Otherwise go with the programming language you use...

                    "If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg

                    G Offline
                    G Offline
                    glennPattonPub
                    wrote on last edited by
                    #14

                    Nope, solved it myself, posted the question and face palm came up with a solution...

                    1 Reply Last reply
                    0
                    • D den2k88

                      Try pinging honey the codewitch directly, probability is she'd be the only one to answer anyway :D

                      GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                      G Offline
                      G Offline
                      glennPattonPub
                      wrote on last edited by
                      #15

                      I fixed it, wrote the question though about it and solved it about two seconds after I posted it, tried it, Working all is good!

                      1 Reply Last reply
                      0
                      • G glennPattonPub

                        Well in all fairness I need to ask a question on C programming to make sure I am not missing something. I was in the middle of writing a document (not related) and thought :bob: might know. So in all fairness I deserved the trolling.

                        H Offline
                        H Offline
                        honey the codewitch
                        wrote on last edited by
                        #16

                        I do IoT stuff, which is related and similar, and am diving into more embedded here. For my part, I just ask C questions in the C section, whether it's embedded or not. What's harder is asking about the things where the hardware and firmware meet, but typically I'll just consider that a programming question, tag it as best I can, and then make sure I'm clear about what I'm doing in the description. There are enough embedded devs here I think you'll be able to cast a net and get something that way.

                        To err is human. Fortune favors the monsters.

                        G 1 Reply Last reply
                        0
                        • G glennPattonPub

                          Hi All, Do we have an Embedded page or shall I ask in C/C++ forum..? Glenn.

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #17

                          Anyway, MS is coming out with a G5 ARM Surface Go; and VS can generate ARM code ...

                          "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                          R 1 Reply Last reply
                          0
                          • L Lost User

                            Anyway, MS is coming out with a G5 ARM Surface Go; and VS can generate ARM code ...

                            "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                            R Offline
                            R Offline
                            Rick York
                            wrote on last edited by
                            #18

                            I would guess this is the wrong topic for your reply.

                            "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                            1 Reply Last reply
                            0
                            • H honey the codewitch

                              I do IoT stuff, which is related and similar, and am diving into more embedded here. For my part, I just ask C questions in the C section, whether it's embedded or not. What's harder is asking about the things where the hardware and firmware meet, but typically I'll just consider that a programming question, tag it as best I can, and then make sure I'm clear about what I'm doing in the description. There are enough embedded devs here I think you'll be able to cast a net and get something that way.

                              To err is human. Fortune favors the monsters.

                              G Offline
                              G Offline
                              glennPattonPub
                              wrote on last edited by
                              #19

                              Not to worry I solved the original problem and as is the case meant something else broke, bodged that. Now being left over night to see what breaks next... The LCD driver is a pain yes, you can send it an integer or float but will display a decimal point? Some times yes some times no, and will it return I2C address? (so I can hook up a real time clock that use I2C) No is the answer. Shall I try to get the data sheet, oh company went bust and some genius bought a load of LCD's on Ebay... :rolleyes: Circuit diagrams, who needs those! Glenn (I need :beer:)

                              H 1 Reply Last reply
                              0
                              • G glennPattonPub

                                Not to worry I solved the original problem and as is the case meant something else broke, bodged that. Now being left over night to see what breaks next... The LCD driver is a pain yes, you can send it an integer or float but will display a decimal point? Some times yes some times no, and will it return I2C address? (so I can hook up a real time clock that use I2C) No is the answer. Shall I try to get the data sheet, oh company went bust and some genius bought a load of LCD's on Ebay... :rolleyes: Circuit diagrams, who needs those! Glenn (I need :beer:)

                                H Offline
                                H Offline
                                honey the codewitch
                                wrote on last edited by
                                #20

                                You're probably using a crappy graphics driver. I have one that may work better for you depending on the type of MCU you're using, but your best bet is to actually use sprintf(tmp,"formatspecifier",value); and then display tmp so you have total control over the formatting of it.

                                To err is human. Fortune favors the monsters.

                                G 1 Reply Last reply
                                0
                                • H honey the codewitch

                                  You're probably using a crappy graphics driver. I have one that may work better for you depending on the type of MCU you're using, but your best bet is to actually use sprintf(tmp,"formatspecifier",value); and then display tmp so you have total control over the formatting of it.

                                  To err is human. Fortune favors the monsters.

                                  G Offline
                                  G Offline
                                  glennPattonPub
                                  wrote on last edited by
                                  #21

                                  Quote:

                                  You're probably using a crappy graphics driver.

                                  Graphics Driver I wish, No RTOS a while(1) or a for(;;)...

                                  Quote:

                                  sprintf(tmp,"formatspecifier",value);

                                  I would have to load stdio for sprintf()... no room. Think it's the I2C having a bit of noise. Will play more tomorrow. Thanks Glenn

                                  H 1 Reply Last reply
                                  0
                                  • G glennPattonPub

                                    Quote:

                                    You're probably using a crappy graphics driver.

                                    Graphics Driver I wish, No RTOS a while(1) or a for(;;)...

                                    Quote:

                                    sprintf(tmp,"formatspecifier",value);

                                    I would have to load stdio for sprintf()... no room. Think it's the I2C having a bit of noise. Will play more tomorrow. Thanks Glenn

                                    H Offline
                                    H Offline
                                    honey the codewitch
                                    wrote on last edited by
                                    #22

                                    I meant the library you're using to communicate to your I2C or SPI display. Clearly, I don't know enough about your platform. It might be simpler to just roll your own ftoa type function

                                    To err is human. Fortune favors the monsters.

                                    G 1 Reply Last reply
                                    0
                                    • H honey the codewitch

                                      I meant the library you're using to communicate to your I2C or SPI display. Clearly, I don't know enough about your platform. It might be simpler to just roll your own ftoa type function

                                      To err is human. Fortune favors the monsters.

                                      G Offline
                                      G Offline
                                      glennPattonPub
                                      wrote on last edited by
                                      #23

                                      Interesting...get the scope on the pins lots of noise I think the fault is with the board, I'm gonna start probing... Also know of a good I2C reference... ;)

                                      K 1 Reply Last reply
                                      0
                                      • Greg UtasG Greg Utas

                                        Richard, Richard. I don't think I've seen you troll anyone before. :-D

                                        Robust Services Core | Software Techniques for Lemmings | Articles
                                        The fox knows many things, but the hedgehog knows one big thing.

                                        G Offline
                                        G Offline
                                        Gary Wheeler
                                        wrote on last edited by
                                        #24

                                        He was just being a dick. [rim-shot]

                                        Software Zen: delete this;

                                        1 Reply Last reply
                                        0
                                        • G glennPattonPub

                                          Interesting...get the scope on the pins lots of noise I think the fault is with the board, I'm gonna start probing... Also know of a good I2C reference... ;)

                                          K Offline
                                          K Offline
                                          kholsinger
                                          wrote on last edited by
                                          #25

                                          Check the values of the pullup resistors. Too low and the drivers can't sink the current. Too high and they can't deal with the capacitance of the wires (sounds like you must have wires to an off-board display). You might try twisting wires, too, thought that's more to keep radiated noise out of other circuits.

                                          G 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups