Extendes Version of TextLCD which scrolls oversized lines.
Dependents: RF22_MAX_test_Send
Extended version of TextLCD, which can scoll oversized lines. Uses a ticker!
Diff: TextLCDScroll.h
- Revision:
- 1:d7cc0e2a55ba
- Parent:
- 0:0ae9963c4e06
- Child:
- 2:66723c542cef
--- a/TextLCDScroll.h Tue Mar 27 20:13:41 2012 +0000 +++ b/TextLCDScroll.h Tue Mar 27 20:30:27 2012 +0000 @@ -1,4 +1,4 @@ -/* mbed Library for scrolling text in Text-LCDs based on the Class TextLCD +/** mbed Library for scrolling text in Text-LCDs based on the Class TextLCD * Copyright by Karl Zweimueller * * Permission is hereby granted, free of charge, to any person obtaining a copy @@ -51,8 +51,8 @@ /** How should we scroll horizontal in one line */ enum ScrollModes { - leftright, /** Scroll left ande the right */ - left /** Scroll only left - default */ + leftright /** Scroll left ande the right */ + ,left /** Scroll only left - default */ }; /** Create a TextLCDScroll Object with pins and Type from TextLCD @@ -66,13 +66,13 @@ PinName d6, PinName d7, TextLCD::LCDType type); - /** Display a string str on line Line. Replaces old text on Line. + /** Display a string str on line Line. Replaces old text on this Line. * @param Line Line, where text should be displayed. first Line=0 * @param str the string to display */ bool setLine( int Line, string str); - /** Set the speed, how fast to scroll the text in Characters per Seconds + /** Set the speed, how fast to scroll the text in Characters per Second * @param speed Speed for scrolling in Characters per Second. Range 0.1 ... 10 */ bool setSpeed( int speed);