Created
March 23, 2013 16:31
-
-
Save maditnerd/5228325 to your computer and use it in GitHub Desktop.
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
0100 est le code de vérification | |
1 = 0 SUR 10 | |
2 = 0 SUR 12 | |
3 = 0 SUR 14 | |
4 = 0 SUR 16 | |
I = 10 | |
1 1 | |
II = 1110 | |
3 1 | |
III = 111110 | |
5 1 | |
IV = 11111110 | |
7 1 | |
ALGORITHME | |
---------- | |
ARG 1 : I/II/III/IV | |
ARG 2 : 1/2/3/4 | |
ARG 3 : ON / OFF | |
sendCode(I1,ON) | |
sendCode(I1,ON) | |
DANS LE CAS OU | |
I alors | |
"101111111" | |
II alors | |
"111011111" | |
III alors | |
"111111011" | |
IV alors | |
"101111110" | |
On | |
----- | |
72 1- | |
73 1- | |
----- | |
Off | |
----- | |
72 1- | |
73 0- | |
I1 | |
101111111011111111111111 | |
101111111011111111111110 | |
---------10 | |
I2 | |
101111111110111111111111 | |
101111111110111111111110 | |
-----------12 | |
I3 | |
101111111111101111111111 | |
101111111111101111111110 | |
-------------14 | |
I4 | |
101111111111111011111111 | |
101111111111111011111110 | |
---------------16 | |
II1 | |
111011111011111111111111 | |
111011111011111111111110 | |
---------10 | |
II2 | |
111011111110111111111111 | |
111011111110111111111110 | |
-----------12 | |
II3 | |
111011111111101111111111 | |
111011111111101111111110 | |
-------------14 | |
II4 | |
111011111111111011111111 | |
111011111111111011111110 | |
---------------16 | |
III1 | |
111110111011111111111111 | |
111110111011111111111110 | |
---------10 | |
III2 | |
111110111110111111111111 | |
111110111110111111111110 | |
-----------12 | |
III3 | |
111110111111101111111111 | |
111110111111101111111110 | |
-------------14 | |
III4 | |
111110111111111011111111 | |
111110111111111011111110 | |
---------------16 | |
IV1 | |
111111101011111111111111 | |
111111101011111111111110 | |
---------10 | |
IV2 | |
111111101110111111111111 | |
111111101110111111111110 | |
-----------12 | |
IV3 | |
111111101111101111111111 | |
111111101111101111111110 | |
-------------14 | |
IV4 | |
111111101111111011111111 | |
111111101111111011111110 | |
---------------16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment