diff options
author | Keith Packard <keithp@keithp.com> | 2014-02-03 00:24:38 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-02-03 00:32:47 -0800 |
commit | 9e0bda088c097ac6bcc677d7b6d00683e73a68fb (patch) | |
tree | 1d16346394ee4c26b3e468afeffd3a49c8543dbd /micropeak/MicroSerialLog.java | |
parent | 0c2f28cbc1cb312d3bcc8951176d79f234a1af04 (diff) |
micropeak: Watch serial data during download
This adds a text area to monitor the incoming serial data in case some
problem occurs.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'micropeak/MicroSerialLog.java')
-rw-r--r-- | micropeak/MicroSerialLog.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/micropeak/MicroSerialLog.java b/micropeak/MicroSerialLog.java new file mode 100644 index 00000000..0a5a0b91 --- /dev/null +++ b/micropeak/MicroSerialLog.java @@ -0,0 +1,28 @@ +/* + * Copyright © 2014 Keith Packard <keithp@keithp.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +package org.altusmetrum.micropeak; + +import java.util.*; +import java.io.*; +import libaltosJNI.*; +import org.altusmetrum.altosuilib_1.*; + +public interface MicroSerialLog { + + public void log_char(int c); +} |