Member Since: January 23, 2008

Country: United States

  • Quick questions - I hope ;)
    I have a V2 SPI LED Matrix and am interested in updating its firmware to get more better colors.
    - Is the V2 board's datasheet available?
    - Is the latest firmware (.hex) compatible with the V2 unit?
    - Is the latest firmware (.hex) built for a single board setup?
    - The V2 board has an "unused" 10 pin header; is part of this this ICSP header?

  • Here is a little batch file that you can use to glob the data from a bunch of .txt files into a single out.txt that lives in the same subdirectory. This started out as a single 'for' command but as I remembered my DOS scripting days I kept adding to it ;)
    By allowing the OS to take care of the file concatenation step your python (or VB) program becomes simpler - no need to rewrite what the OS already provides. Yeah the batch file below is a bit overkill but I tried to make it fairly general purpose (and had some fun doing so)!
    An example usage for Nate would be (assuming the batch file lived in C:\Global\BubbleLogs):
    C:\Global\BubbleLogs>doit.bat C:\Global\BubbleLogs\UpTo-11-11-08
    @echo off
    REM make sure that we got a command line parameter
    if (%1) == () goto USAGE
    REM navigate to user supplied directory and process files
    pushd %1 > nul 2>&1
    if errorlevel 1 goto BAD_DIR
    del /F /Q out.log > nul 2>&1
    del /F /Q out.txt > nul 2>&1
    for /f %%a IN ("
    .txt") do (type %%a >> out.log) > nul 2>&1
    ren out.log out.txt > nul 2>&1
    echo SUCCESS! out.txt created in %1
    goto DONE
    REM echo missing paramater/usage error
    echo usage: doit.bat [directory to process]
    goto DONE
    REM echo bad user supplied directory error
    echo %1 is not a valid directory
    goto DONE
    @echo on

  • Would ya, could ya, post a zip of your data logger files so we can take a look at the original data to help you on your python quest?
    One thing I would suggest is to let the OS (Windows in your case) do the file concatenation for you - then, once the data is globbed together, do your data transform on it to get it ready for "Excel".
    So if you had LOG06.txt, LOG07.txt and LOG08.txt you could do something like (in a DOS prompt):
    type LOG06.txt > out.txt
    type LOG07.txt >> out.txt
    type LOG08.txt >> out.txt
    This will put LOG06.txt into a new file named out.txt (the single > means create a new file with the output of type). Then additional files can be appended to out.txt by using the >> (which appends rather than creates a new file). By getting a little creative you could glob your daily output into an out.txt and then glob your daily out.txt files together, etc., to create a "master" log file with all of the data in it. This would be a good place to use a DOS .bat / .cmd file. Its been a while since I played around with Windows but I could probably help you with that as well.

  • After soldering pins to the BlueSMiRF I had this unit paired with and talking to the Mac in a matter of minutes. So far very easy to use - and if it provides a true serial port like experience (like other commenters confirm) I'll be looking at a BT bootloader (PIC 18F2550). The reference doc contains the unit's default settings and I was able to connect/control the first time with the screen command:
    $ screen /dev/tty.FireFly 115200
    Will be replacing screen soon with the bootloader/project control software; drop me a note if you want a Mac command line app to talk to this unit over the BT wireless link.
    Great device! Impressed!

No public wish lists :(