Category Archive: programming

Jan 07

Cleaning up filenames for transfer to windows

For those of you run multiple operating systems, you may have run across the problem where the filenames on one are not valid on the other. Specifically I’ve had that problem when using NTFS filesystems between Linux and Windows. The NTFS3G drivers on Linux will allow characters in the file names that windows doesn’t like. …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2012/01/cleaning-up-filenames-for-transfer-to-windows/

Jul 07

Using the Python HTMLParser library

When writing a script to download files off a site, I figured there was an easy python library to do that. Well, sort of. I chose to use the HTMLParser library.  The documentation is not the best, so I thought I would add a bit of what I found.  If I had to do it …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/07/using-the-python-htmlparser-library/

Jul 05

Automating Dreamhost backups

We here at Curious System Solutions use dreamhost as our hosting provider.  One of the nice things they give us is a nice, tidy, backup every month, if we ask for it.  It may take a few days if you ask at the beginning of the month, and it is easy to forget to download.  …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/07/automating-dreamhost-backups/

Jun 14

Capacitive Touch Sensing on the MSP430

One of the projects I’m working on involves using capacitive touch sensing (CTS) on the TI MSP430.  TI has been pushing their touch sensing capabilities recently and has even released a library that helps in implementing touch sensing on the MSP430.  I decided to give it a try.  The short story is that there is …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/06/capacitive-touch-sensing-on-the-msp430/

Mar 22

Fun with SQL or, I know it should do this…

Occasionally, one comes across a problem where using a relational database is the correct tool. For me that is very occasionally. Some things I recently (re)learned that I thought I would share are:

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/03/fun-with-sql-or-i-know-it-should-do-this/

Mar 14

Getting Rid of Dead Files in a Subversion Working Directory

Quick Tip: I often find that I delete files before I remember that I should have deleted them using subversion. To help solve that problem I found/created the following command. svn st |grep "^\!" |cut -c8- | xargs svn rm –force This takes all the files that are missing from the checked out version of …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/03/getting-rid-of-dead-files-in-a-subversion-working-directory/

Feb 14

A Valentine Example for Blinking Lights

For Valentine’s Day my son needed to make a “mailbox” for his kindergarten class. He & his mother made a rocket out of an old oat container. Since this was a family project, I decided that my contribution would be lighting it up. My son was quite excited when I told him that I was …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/02/a-valentine-example-for-blinking-lights/

Jan 21

The Never Ending Conversion

When using the ADC10 in an MSP430 with multiple conversions, the ADC10BUSY bit will stay on even after the conversions are done. Trying to be a good little programmer and checking to make sure the ADC is done will leave you hanging… forever. The conversions must be done for the data transfer and the data …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/01/the-never-ending-conversion/

Jan 21

Accidental Double Interrupts on a Timer

I had a program where I was using a timer and an ISR to flip a bit on a TI MSP430.  Well, the bit would only filp for a few milliseconds and then revert back to its prior value.  As it turns out, I was calling the ISR twice every time I wanted it.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/01/accidental-double-interrupts-on-a-timer/

Jan 21

MSP430, Entering and Exiting low Power Modes while Debugging

On a recent project I had one heck of a time trying to debug the program flow in CCS 4.2.  I thought the code wasn’t going anywhere because when I would break the program, it would stop on a line before where it should have been executing.  After a couple days of troubleshooting with an …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/01/msp430-entering-and-exiting-low-power-modes-while-debugging/

Older posts «

» Newer posts