Tell us about yourself!

Complete Your Profile
  • Graphing Values in Arduino, the EASY Way!

    It would probably be better to build a string of the length to send and only call the serial.println once. Pad out the end of the string with spaces to make it always 16 chars long. Either that or build an char array and a "dump array to serial" function. Make the dump array function run regularly in the code and just update the chars in the array when they change. There are several ways of doing that without disturbing the main code. You could have a flag that says array updated, and the dump program dumps the array out and clears the flag. You could run a comparision dumping program with two arrays, one that is a copy of what is on the display currently and the other being the one you update. If the dump array function then only calls serial.println when the two arrays don't...

    see more »

    It would probably be better to build a string of the length to send and only call the serial.println once. Pad out the end of the string with spaces to make it always 16 chars long. Either that or build an char array and a "dump array to serial" function. Make the dump array function run regularly in the code and just update the chars in the array when they change. There are several ways of doing that without disturbing the main code. You could have a flag that says array updated, and the dump program dumps the array out and clears the flag. You could run a comparision dumping program with two arrays, one that is a copy of what is on the display currently and the other being the one you update. If the dump array function then only calls serial.println when the two arrays don't match, it copies one array over the other and sends out the whole copy array. You could also just dump individual chars out via an interrupt call to the display and just rotate through them all 100 times a second. The trick to a lot of projects is to have the supporting code not impinge much on the main program loop or function. Something that operates in the background and does the job without the main program halting for it.

    View Instructable »
  • StephenL6 commented on Jonso's instructable Futuristic Sanding Board2 years ago
    Futuristic Sanding Board

    If you're worried about the marble coming off during sanding, use a small spherical door knob instead and screw it on from underneath.

    View Instructable »