Jeśli wciśniemy 1. klawisz, a potem 2., w 2-sekundowym odstępie, to zapalamy 1. LED na 2s. Jeżeli odstęp jest większy niż 2s, to zapalamy 1. LED na 4s. Jeżeli wciśniemy w odwrotnej kolejności, to zapalamy 2. LED i zamaist na 2s, to na 3s. 2-sekundowego świecenie da się przerwać poprzez puszczenie któregokolwiek z klawiszy. 4-sekundowego świecenia nie da się przerwać.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.InputMismatchException; | |
import java.util.Scanner; | |
import java.util.regex.*; | |
public class IPv4Validator { | |
private String ipv4; | |
private final String IPv4Regex = "\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}"; | |
IPv4Validator(String ipv4) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
using namespace std; | |
class Pojazd { | |
private: | |
string lusterko[3] = {"lewe", "prawe"}; | |
public: | |
//friend class Samochod; | |
Pojazd& operator=(const Pojazd&); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
class Pojazd { | |
private: | |
string lusterko[3] = {"lewe", "prawe"}; | |
protected: | |
int id = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Created 06.04.2017 | |
Modified 06.04.2017 | |
Project | |
Model | |
Company | |
Author | |
Version | |
Database MS SQL 7 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
czas P1 P2 P3 Z1 Z2 Z3 Z4 Z5 M G T | |
================================================================== | |
0.10 0.000 0.000 0.000 0 0 0 0 0 0 0 20.000 | |
0.20 0.000 0.000 0.000 0 0 0 0 0 0 0 20.000 | |
0.30 0.000 0.000 0.000 0 0 0 0 0 0 0 20.000 | |
0.40 0.000 0.000 0.000 0 0 0 0 0 0 0 20.000 | |
0.50 0.000 0.000 0.000 0 0 0 0 0 0 0 20.000 | |
0.60 0.000 0.000 0.000 0 0 0 0 0 0 0 20.000 | |
0.70 0.000 0.000 0.000 0 0 0 0 0 0 0 20.000 | |
0.80 0.000 0.000 0.000 0 0 0 0 0 0 0 20.000 |
Configure:
cd /srv;
mkdir tftp;
chmod 777 -R tftp;
chown nobody:nogroup -R tftp;
and then download image:
cd /srv/tftp/
On downloading zip
git init
git reset HEAD --
git remote add origin https://github.com/lukaszmalec6/anatomy
git fetch
git branch --track master origin/master
Branch master set up to track remote branch master from origin.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdarg.h> | |
void COM_send_m(int n, ...) { | |
va_list send; | |
va_start(send, n); | |
while(n--) | |
COM_send(va_arg(send, char*)); | |
va_end(send); | |
} |
OlderNewer