Permalink
Commits on Jan 31, 2012
  1. safecast: Move captouch to its own file

    This moves all captouch code to its own file.
    xobs committed Jan 31, 2012
  2. Merge branch 'tiles'

    xobs committed Jan 31, 2012
  3. main: Add test dialogue

    Add a simple test dialogue box.
    xobs committed Jan 31, 2012
Commits on Jan 29, 2012
  1. tiles: Switch to tile renderer

    xobs committed Jan 29, 2012
Commits on Jan 28, 2012
  1. Flesh out LOG mode power state. Code is not working but structure is …

    …there.
    
    LOG mode is fleshed out. Standby power state code added. Currently
    if you enter LOG mode, you can't leave; wake from interrupt seems
    broken. Haven't figured out exactly what's wrong but it's probably
    small tweaks from here. Checking in code so that the gross structure
    is available to hang stuff on.
    bunnie committed Jan 28, 2012
  2. add battery voltage measurement routine. 'v' will print a battery code

    The battery code is a value from 0 - BATT_RANGE. 0 means you're out of
    juice, and the system should shut down to prevent battery damage.
    The top value means the battery is fully charged. At the moment,
    BATT_RANGE is set to 16, which allows you to do, for example, a 16-pixel
    battery meter in the UI.
    
    The accuracy of the battery reporting is as good as +/-3.4%, based upon
    the limitation of the VREF calibration source inside the chip. It should
    actually be probably tighter than +/-2% in practice because the broader
    range is over an extended temperature range from -40C to +85C, and one
    of the biggest factors affecting the accuracy of the reference will be
    temperature.
    bunnie committed Jan 28, 2012
Commits on Jan 27, 2012
  1. improve power management. serial Tx turned into open drain.

    Turning serial TX into an open drain may cause some compatibility
    problems, as the board currently does not have a pullup resistor on
    it. I think the FTD232R has a pull-up which is why mine is working
    but there is a possibility that it's just parasitic. Anyways, the
    impact may be that serial characters on the screen could be garbled.
    
    This fix patches an issue where if it's an active-drive, the active
    drive actually powers the serial chip sufficiently to force it into
    reset which then forces the CPU reset pin, causing a reset loop where
    the CPU and serial adapter successively take turns resetting each other.
    bunnie committed Jan 27, 2012
  2. added power management skeleton code

    bunnie committed Jan 27, 2012
  3. Merge pull request #3 from xobs/master

    Add OLED_blank and OLED_unblank
    committed Jan 27, 2012
  4. OLED: Add OLED_blank and OLED_unblank

    Add two functions to blank/restore the display.
    xobs committed Jan 27, 2012
  5. Merge pull request #2 from xobs/master

    Add OLED tile library and font
    committed Jan 27, 2012
  6. main: Use tile library for test drawing

    Rather than calling OLED drawing routines directly, map them through
    the logical tile library.
    xobs committed Jan 27, 2012
  7. tiles: Add tile library to build system

    This is the beginning of a tile-based library.  This adds a routine
    to draw a given 8x8 chunk of memory to an (x, y) offset on the tile-
    based screen.
    xobs committed Jan 27, 2012
  8. font: Fix ordering of letters

    Due to alphanumeric sorting, the previous font set was misaligned.
    xobs committed Jan 27, 2012
  9. font: Add font from a C64

    xobs committed Jan 27, 2012
  10. main: Draw example character set

    Fills the screen with the known characters and cycles them.
    xobs committed Jan 27, 2012
  11. fixed touch/release bug (have to enable/disable array). still tweaking

    other parameters.
    bunnie committed Jan 27, 2012
  12. major refactor.

    bunnie committed Jan 27, 2012
Commits on Jan 25, 2012
  1. Merge pull request #1 from xobs/master

    Merge xobs changes.
    committed Jan 25, 2012
  2. main: Set up main for OLED test

    This breaks main.cpp sufficiently so that it only functions as
    an OLED demo.
    xobs committed Jan 25, 2012
  3. libmaple-spi: Don't configure NSS or MSIO pins

    Safecast doesn't use the NSS or MSIO pins, so leave them unconfigured
    when SPI is started up.
    xobs committed Jan 25, 2012
  4. OLED: Add working OLED code [debug]

    Adds OLED code that will infinitely loop, painting a test pattern
    onto the screen.
    xobs committed Jan 25, 2012
Commits on Jan 10, 2012
  1. OLED: Add to build-targets

    xobs committed Jan 10, 2012
  2. oled: Add basic OLED code

    xobs committed Jan 10, 2012
Commits on Dec 29, 2011
  1. main: Start to read captouch

    xobs committed Dec 29, 2011
Commits on Dec 28, 2011
  1. libmaple: Remove example files

    xobs committed Dec 28, 2011
  2. main: Sample communication with captouch device

    This sets up a simple query-response with the captouch device
    xobs committed Dec 28, 2011
Commits on Dec 27, 2011
  1. main: Add main.cpp

    xobs committed Dec 27, 2011