program for conv1, universal converter before including conv2 code

Dependencies:   mbed-src

Fork of _8_CONV_1_SLAVE by Marek Trojan

Files at this revision

API Documentation at this revision

Comitter:
marcus255
Date:
Fri Jan 08 13:47:03 2016 +0000
Parent:
10:7eaae60dc9e4
Commit message:
Latest version

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
main.h Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Jan 02 14:10:13 2016 +0000
+++ b/main.cpp	Fri Jan 08 13:47:03 2016 +0000
@@ -1,7 +1,7 @@
 /*
 * Project: I2C to UART converter
-* File: main.cpp
-* Author: Marek Trojan
+* File:    main.cpp
+* Author:  Marek Trojan
 */
 
 #include "main.h"
@@ -16,7 +16,7 @@
 {
     char first_char = device.getc();
     if (first_char == SET_CONV2_FUNCT) {
-        char slave_address = device.getc(); // not used at all, may be delete latar
+        char slave_address = device.getc(); // not used at all, may be delete later
         init_conv2(I2C_FREQUENCY_STANDARD);
     } else if (first_char == DATA_TO_WRITE_CHAR) {
         char received = device.getc();
--- a/main.h	Sat Jan 02 14:10:13 2016 +0000
+++ b/main.h	Fri Jan 08 13:47:03 2016 +0000
@@ -1,7 +1,7 @@
 /*
 * Project: I2C to UART converter
-* File: main.h
-* Author: Marek Trojan
+* File:    main.h
+* Author:  Marek Trojan
 */
 
 #ifndef MAIN_H