A talking braille-input text message device!!

Dependencies:   Braille_In PinDetect mbed

Committer:
aganger3
Date:
Fri Oct 12 18:02:43 2012 +0000
Revision:
0:c79379695e18
It works :);

Who changed what in which revision?

UserRevisionLine numberNew contents of line
aganger3 0:c79379695e18 1 /*
aganger3 0:c79379695e18 2 Copyright (c) 2010 Andy Kirkham
aganger3 0:c79379695e18 3
aganger3 0:c79379695e18 4 Permission is hereby granted, free of charge, to any person obtaining a copy
aganger3 0:c79379695e18 5 of this software and associated documentation files (the "Software"), to deal
aganger3 0:c79379695e18 6 in the Software without restriction, including without limitation the rights
aganger3 0:c79379695e18 7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
aganger3 0:c79379695e18 8 copies of the Software, and to permit persons to whom the Software is
aganger3 0:c79379695e18 9 furnished to do so, subject to the following conditions:
aganger3 0:c79379695e18 10
aganger3 0:c79379695e18 11 The above copyright notice and this permission notice shall be included in
aganger3 0:c79379695e18 12 all copies or substantial portions of the Software.
aganger3 0:c79379695e18 13
aganger3 0:c79379695e18 14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
aganger3 0:c79379695e18 15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
aganger3 0:c79379695e18 16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
aganger3 0:c79379695e18 17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
aganger3 0:c79379695e18 18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
aganger3 0:c79379695e18 19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
aganger3 0:c79379695e18 20 THE SOFTWARE.
aganger3 0:c79379695e18 21
aganger3 0:c79379695e18 22 @file MODSERIAL_IRQ_INFO.cpp
aganger3 0:c79379695e18 23 @author Andy Kirkham
aganger3 0:c79379695e18 24 */
aganger3 0:c79379695e18 25
aganger3 0:c79379695e18 26 #include "MODSERIAL.h"
aganger3 0:c79379695e18 27
aganger3 0:c79379695e18 28 namespace AjK {
aganger3 0:c79379695e18 29
aganger3 0:c79379695e18 30 int
aganger3 0:c79379695e18 31 MODSERIAL_IRQ_INFO::rxDiscardLastChar(void)
aganger3 0:c79379695e18 32 {
aganger3 0:c79379695e18 33 if (!serial) return -1;
aganger3 0:c79379695e18 34
aganger3 0:c79379695e18 35 return serial->rxDiscardLastChar();
aganger3 0:c79379695e18 36 }
aganger3 0:c79379695e18 37
aganger3 0:c79379695e18 38 }; // namespace AjK ends