Page 1 of 2

FTOLED Updates

Posted: Mon Oct 14, 2013 12:13 am
by angusgr
(This is a thread outlining changes to our FTOLED library, as they are made.)

The FTOLED library is an Arduino library providing graphics support for the OLED128 display module.

Some minor updates today:

Features
  • drawString() can now take a string stored in flash to save RAM, using the F() macro. The fonts_demo example sketch (part of the library) shows how.
  • New drawString_P() method for advanced users, takes a PROGMEM pointer directly. Equivalent to some of the _P string methods in avrlibc.
  • Better flicker-free OLED_TextBox update technique, removes the previous need to print spurious spaces. See the strip_chart example or the Displaying Text wiki page for details.
Bugfixes
  • Can now scroll a one-line OLED_TextBox without hanging the sketch.

Re: FTOLED Updates

Posted: Wed Nov 27, 2013 12:30 am
by angusgr
New Feature

* setOrientation() method allows display to be rotated by 90, 180 or 270 degrees. Details here in the function reference.

Re: FTOLED Updates

Posted: Sun Dec 01, 2013 9:23 pm
by angusgr
The Library now compiles under the Teensy 3.0 TeensyDuino environment (thanks Paul Stoffregen!)

Re: FTOLED Updates

Posted: Sun Jan 19, 2014 10:27 pm
by angusgr
Few small updates:

* Library now works again on Arduino Due. (A compiler bug was triggered when setOrientation() support was added.)

* Added a stringWidth() function to predetermine how much space a string will take up.

* Fix for the drawBox() method not drawing one edge correctly whenever width != height.

Re: FTOLED Updates

Posted: Sun Feb 09, 2014 11:18 pm
by angusgr
* Changed SPI mode 3 to mode 0. Display still works the same, but removes incompatibilities with some other libraries (like Ethernet), depending on the initialisation order.

* Support setting reset pin to "-1" in order to bypass resetting the module when calling begin() (useful if you're connecting multiple independent OLED128s to the same board and want to share pins.)

Re: FTOLED Updates

Posted: Wed Apr 16, 2014 11:53 pm
by angusgr
* New example sketch, tankgame. This example uses the OLEDShield features (joystick and piezo buzzer) to create a simple tank-based shoot-em-up game.

Re: FTOLED Updates

Posted: Mon May 26, 2014 3:10 am
by angusgr
* Fixed bug with spaces not printing properly when using variable width fonts in OLED_TextBox. (github issue). If you've created your own variable width fonts then see this wiki note about the width of a space.

* Fixed bug with extended ASCII characters (values 128-255) not displaying.

Re: FTOLED Updates

Posted: Mon Aug 11, 2014 12:01 am
by angusgr
* Fixed bug with incorrect kerning when using OLED_TextBox. Text boxes are now kerned the same when using OLED::drawString() (1 pixel between each character).

Re: FTOLED Updates

Posted: Tue Dec 09, 2014 4:16 am
by angusgr
* Fixed crashing bug when rendering 24 & 32-bit BMPs. (Thanks to danieltian on github for this fix.)

Re: FTOLED Updates

Posted: Thu Apr 30, 2015 7:13 am
by angusgr
* "Colour"/"Color" type is renamed to "OLED_Colour"/"OLED_Color" to avoid naming collisions with other libraries who use "Colour" or "Color"

* Added new mechanism for not defining the preset colour names in your sketch, to avoid naming collisions on names like "BLACK" or "RED". Read about how to use this feature on the wiki.

This is version 1.1.0 of the library (we started numbering versions recently). It is available for download on Github now, and should be available in the Arduino IDE Library Manager soon.