Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 2:10add9ee8c4b
- Parent:
- 1:533ef4c5f7ab
- Child:
- 3:29a231eba2e0
--- a/main.cpp Sat Mar 21 16:07:17 2015 +0000 +++ b/main.cpp Sun Mar 22 14:53:35 2015 +0000 @@ -1,6 +1,6 @@ /********************************************************************************** * @file main.cpp -* @author Name +* @author Petr Dousa * @version V0.1 * @date 09-March-2015 * @brief Read value from pins and write it to serial. @@ -8,9 +8,22 @@ * Serial speed is set to 115200. ***********************************************************************************/ +/**************************************************************************************************************************************************/ +/* Table how to find 0xE000 */ +/**************************************************************************************************************************************************/ +/* Num. | 15 | 14 | 13 | 12 || 11 | 10 | 9 | 8 || 7 | 6 | 5 | 4 || 3 | 2 | 1 | 0 */ +/* Num. of pin | PC_15 | PC_14 | PC_13 | PC_12 || PC_11 | PC_10 | PC_9 | PC_8 || PC_7 | PC_6 | PC_5 | PC_4 || PC_3 | PC_2 | PC_1 | PC_0 */ +/* Num. in BIN | 1 | 1 | 1 | 0 || 0 | 0 | 0 | 0 || 0 | 0 | 0 | 0 || 0 | 0 | 0 | 0 */ +/* Num. in HEX | E || 0 || 0 || 0 */ +/**************************************************************************************************************************************************/ + /* Includes ----------------------------------------------------------------------*/ #include "mbed.h" +/* Defines -----------------------------------------------------------------------*/ + +/* Function prototypes -----------------------------------------------------------*/ + /* Variables ---------------------------------------------------------------------*/ int pin =0; //pins to compare and start print int vypis =0; // which output will be provided