18 Commits

Author SHA1 Message Date
Scott Allen
38be4163c0 Replaced sprintf calls with dedicated code
Using sprintf generates a large amount of code. By replacing the
sprintf calls with dedicated code, program size is reduced when
widgets are used.

Also:
- Added a getValLen method for widgets which returns the print
length for the current value, similar to the existing getMaxValLen.
- The value for widgets is now initialised to the minimum value,
instead of 0, because 0 could be outside the specified range.
- Added getValLen and getMaxValLen keywords.
- The MicroViewWidgetDemo example sketch was modified to use
the new getValLen method, plus a few other small changes.
2014-09-22 19:16:34 -04:00
Scott Allen
26d95ecfb4 Initial commit of the widget demo sketch 2014-09-17 20:38:59 -04:00
JP
cf97ba6c23 added Flashing Heart Example 2014-08-21 13:47:36 +10:00
JP
94fc7e6437 moved reDraw() to parent 2014-08-04 11:00:08 +10:00
JP
7c3ec25d70 added reDraw() 2014-08-04 10:36:33 +10:00
JP
82d55a8201 merged czetie vertical slider 2014-08-03 16:16:00 +10:00
JP
77faa7d583 added Vertical Slider example 2014-08-03 16:07:44 +10:00
Scott Allen
c67593e321 Fix positioning of "3" on clock face. 2014-08-01 15:33:49 -04:00
JP
abacd6b7bc added Learning Kit Circuit Sketch 2014-07-26 10:13:31 +10:00
JP
91f965f1eb added Sine Wave Example 2014-06-13 12:41:44 +10:00
JP
90f8e8d606 added Rotating Cube example by Jim Lindblom 2014-06-12 11:17:32 +10:00
JP
73cf96e723 added SparkFun logo 2014-06-09 11:20:56 +10:00
JP
8ebf545e08 added simple tutorials, modified RESET pin 2014-06-09 11:01:47 +10:00
JP
eaf0862bb5 added invert function, contrast function, changed scrollStop to scrollStop for consistency 2014-02-11 19:43:01 +11:00
JP
1fcf3a0839 * changed MICROVIEW class name to MicroView
* created MICROVIEWWIDGET class
* added routines to draw widget
* added slider widget
* merged MicroViewWidget into MicroView
* merged SPI.h into MicroView
2014-02-06 17:39:10 +11:00
JP
84a1f697fc added SPRITE demo. 2014-01-31 21:06:18 +11:00
JP
d1f60ab9e6 fixed font draw XOR mode bug
added analog clock demo
2014-01-30 14:23:57 +11:00
JP
4bf55ff5a7 added other fonts support 2014-01-30 11:24:23 +11:00