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.
Diff: Znak.h
- Revision:
- 6:dd675b967b60
- Parent:
- 5:654e3398c1ef
--- a/Znak.h Mon May 26 18:28:21 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -#include "mbed.h" -#ifndef ZNAK_H -#define ZNAK_H -#include <vector> - -struct Znak -{ - - char niz[6]; - char vel; - - Znak(int r0 = -1, int r1 = -1, int r2 = -1, int r3 = -1, int r4 = -1, int r5 = -1) - { - if(r0 != -1) { - niz[0] = r0; - vel++; - if(r1 != -1){ - niz[1] = r1; - vel++; - } - if(r2 != -1){ - niz[2] = r2; - vel++; - if(r3 != -1){ - niz[3] = r3; - vel++; - if(r4 != -1){ - niz[4] = r4; - vel++; - if(r5 != -1){ - niz[5] = r5; - vel++; - } - } - } - } - - } - - } - -}; - -#endif // ZNAK_H