Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/03/10 21:45
Modified:
  06/03/10 21:59

Read: times


 
#176364 - Yes, in intensive writing situations
Responding to: ???'s previous message
Programming for a GLCD can be very intensive on the keyboard. So, a great site to get free "gimme code" http://www.carousel-design.com/GraphLCD.html for a variety of GLCDs. For example, all of the glyphs one must write for different font dots in order to propagate on to the t6963C controller at the bottom of that page. Sure, they expect you to have a huge amount of RAM, but all of your bottom level routines have already been written for you and you might be able to immediately start testing, as long as the hardware matches. I find that for microcontrollers a hardware guide is absolutely necessary when using "gimme code" otherwise one would be spending a bit more time. So, you don't have enough RAM, but you realize that you can use the memory that is on your GLCD instead and boom you might have to re-write a few top-level to mid-level routines in order to conserve memory. So, if youre in need of bottom level routines, the answer is yes. If youre into high-level routines well.... you can read other people's code to get an idea or a concept but it will only help in helping one learn the proper way to code for that "method". Code that could be considered common to all devices is also widely accepted, such as, communications routines for serial circular buffers, both of which you will see in assembly and in C. Have I ever just cut and copied and it worked? Yes, it did, when I bought a kit and the kit came with a demo. Does it help me at all to have that code? When I was first learning, yes. Does it help experienced programmers save time or energy? No, the code is considered to be non-creative. If the code is not creative, then one never put information into the code and thus should gain nothing from the code because of the triviality. Putting creativity into the code is what gives that special sauce and differentiates products. Secondly, have you looked at the code library on this forum? Most of them are low level-routines that do trivial "homework" solutions. Theres nothing on there that states for a PID 3 phase motor download this code and you have a motion controller in action.

List of 23 messages in thread
TopicAuthorDate
Gimme Code: Is it really worth it?            01/01/70 00:00      
   Yes, in intensive writing situations            01/01/70 00:00      
   Unreasonable expectations            01/01/70 00:00      
      Depends            01/01/70 00:00      
   As an exercise...            01/01/70 00:00      
   gimme binary            01/01/70 00:00      
      Did he?            01/01/70 00:00      
         sometimes you'll find out what you need on the go            01/01/70 00:00      
            Fundamental flaw            01/01/70 00:00      
               then "gimme binary and schematics"            01/01/70 00:00      
   LCD code            01/01/70 00:00      
      Not the point?            01/01/70 00:00      
         Ah, I see...            01/01/70 00:00      
            now we know            01/01/70 00:00      
               Ha! My wife and children...            01/01/70 00:00      
      two key words            01/01/70 00:00      
         I wouldn't go that far            01/01/70 00:00      
      Code Reuse            01/01/70 00:00      
         A possible counterpoint, or maybe a confirmation            01/01/70 00:00      
            not really            01/01/70 00:00      
         is that the reason I need a multi-GHz PC to ...            01/01/70 00:00      
         an example of really useful 'reusable' code            01/01/70 00:00      
   Compiler libraries            01/01/70 00:00      

Back to Subject List