Adafruit_Thermal (community library)

Summary

Name Value
Name Adafruit_Thermal
Version 0.0.1
Installs 4454
License MIT License
Author Przemysław Grzywacz nexather@gmail.com
URL https://github.com/atheros/adafruit_thermal_sparkcore
Repository https://github.com/atheros/adafruit_thermal_sparkcore.git
Download .tar.gz

Port of Adafruit_Thermal library to Spark Core

Library Read Me

This content is provided by the library maintainer and has not been validated or approved. This is an Arduino library for the Adafruit Thermal Printer. Pick one up at --> http://www.adafruit.com/products/597 These printers use TTL serial to communicate, 2 pins are required.

Full tutorial with wiring diagrams, images, etc. is available at http://www.ladyada.net/products/thermalprinter/

Before loading the example code, or even opening the Arduino software, place the Adafruit_Thermal folder in your Arduino library.

////ARDUINO LIBRARY LOCATION//// On your Mac:: In (home directory)/Documents/Arduino/Libraries On your PC:: My Documents\Arduino\libraries On your Linux box: (home directory)/sketchbook/libraries

Adafruit invests time and resources providing this open source code. Please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries, based on Thermal library from bildr.org MIT license, all text above must be included in any redistribution.

This package was modified by Przemysław Grzywacz nexather@gmail.com in order to run on Spark Core.

API changes:

  • Adafruit_Printer constructor doesn't accept pin numbers anymore.
  • Adafruit_Printer::begin() requires as first argument a pointer to a stream communicating with the printer. It can be for example a pointer to Serial, Serial1 or Serial2.
  • Adafruit_Printer::printBitmap() fromProgMem argument is ignored, I don't know how data in program memory work in Spark Core.

I hope you find this port usefull.

Browse Library Files