Skip to content

atheros/adafruit_thermal_sparkcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected] 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.

About

Adafruit's Thermal Printer library ported to Spark Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages