{"id":98,"date":"2017-06-08T21:34:23","date_gmt":"2017-06-08T19:34:23","guid":{"rendered":"http:\/\/entropie.org\/3615\/?page_id=98"},"modified":"2023-03-06T00:56:08","modified_gmt":"2023-03-05T23:56:08","slug":"software","status":"publish","type":"page","link":"https:\/\/entropie.org\/3615\/index.php\/software\/","title":{"rendered":"Software"},"content":{"rendered":"<p><a href=\"https:\/\/www.gnu.org\/licenses\/gpl-3.0.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-227\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2017\/06\/gplv3-127x51.png\" alt=\"\" width=\"127\" height=\"51\" \/><\/a><\/p>\n<p>This program is free software : you can redistribute it and\/or modify<br \/>\nit under the terms of the GNU General Public License as published by<br \/>\nthe Free Software Foundation, either version 3 of the License, or<br \/>\n(at your option) any later version.<\/p>\n<p>&#8212;<\/p>\n<p>Pour faire interagir un Minitel et une carte Arduino, j&rsquo;ai d\u00e9velopp\u00e9 deux biblioth\u00e8ques selon que l&rsquo;on veuille passer par le port s\u00e9rie mat\u00e9riel du microcontr\u00f4leur (RX\/TX) ou par des broches ind\u00e9pendantes&nbsp;:<\/p>\n<p>Minitel1B_Hard (ne fait pas appel \u00e0 SoftwareSerial.h) :<br \/>\n<a href=\"https:\/\/github.com\/eserandour\/Minitel1B_Hard\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/eserandour\/Minitel1B_Hard<\/a><\/p>\n<p>Minitel1B_Soft (fait appel \u00e0 SoftwareSerial.h) :<br \/>\n<a href=\"https:\/\/github.com\/eserandour\/Minitel1B_Soft\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/eserandour\/Minitel1B_Soft<\/a><\/p>\n<p>&#8212;<\/p>\n<p><u>Liste des fonctions disponibles<\/u> :<\/p>\n<p># Vitesse de la liaison s\u00e9rie<br \/>\nint changeSpeed(int bauds)<br \/>\nint currentSpeed()<br \/>\nint searchSpeed()<\/p>\n<p># S\u00e9parateurs<br \/>\nvoid newScreen()<br \/>\nvoid newXY(int x, int y)<\/p>\n<p># Modes du standard T\u00e9l\u00e9tel<br \/>\nvoid textMode()<br \/>\nvoid graphicMode()<br \/>\nbyte pageMode()<br \/>\nbyte scrollMode()<br \/>\nbyte modeMixte()<br \/>\nbyte modeVideotex()<\/p>\n<p># Standards<br \/>\nbyte standardTeleinformatique()<br \/>\nbyte standardTeletel()<\/p>\n<p># Contenu<br \/>\nvoid attributs(byte attribut) => Voir les possibilit\u00e9s plus bas<br \/>\nvoid print(String chaine)<br \/>\nvoid println(String chaine)<br \/>\nvoid println()<br \/>\nvoid printChar(char caractere)<br \/>\n<s>void printDiacriticChar(unsigned char caractere)<\/s><br \/>\nvoid printSpecialChar(byte b) => Voir les possibilit\u00e9s plus bas<br \/>\nbyte getCharByte(char caractere)<br \/>\nString getString(unsigned long code)<br \/>\nint getNbBytes(unsigned long code)<br \/>\nvoid graphic(byte b)<br \/>\nvoid graphic(byte b, int x, int y)<br \/>\nvoid repeat(int n)<br \/>\nvoid bip()<\/p>\n<p># Curseur<br \/>\nvoid cursor()<br \/>\nvoid noCursor()<br \/>\nvoid moveCursorXY(int x, int y)<br \/>\nvoid moveCursorLeft(int n)<br \/>\nvoid moveCursorRight(int n)<br \/>\nvoid moveCursorDown(int n)<br \/>\nvoid moveCursorUp(int n)<br \/>\nvoid moveCursorReturn(int n)<br \/>\nint getCursorX()<br \/>\nint getCursorY()<\/p>\n<p># Effacements, Suppressions, Insertions<br \/>\nvoid cancel()<br \/>\nvoid clearScreenFromCursor()<br \/>\nvoid clearScreenToCursor()<br \/>\nvoid clearScreen()<br \/>\nvoid clearLineFromCursor()<br \/>\nvoid clearLineToCursor()<br \/>\nvoid clearLine()<br \/>\nvoid deleteChars(int n)<br \/>\nvoid insertChars(int n)<br \/>\nvoid startInsert()<br \/>\nvoid stopInsert()<br \/>\nvoid deleteLines(int n)<br \/>\nvoid insertLines(int n)<\/p>\n<p># G\u00e9om\u00e9trie<br \/>\nvoid rect(int x1, int y1, int x2, int y2)<br \/>\nvoid hLine(int x1, int y, int x2, int position)<br \/>\nvoid vLine(int x, int y1, int y2, int position, int sens)<\/p>\n<p># Clavier<br \/>\nunsigned long getKeyCode(bool ascii = true)<br \/>\nbyte smallMode()<br \/>\nbyte capitalMode()<br \/>\nbyte extendedKeyboard()<br \/>\nbyte standardKeyboard()<br \/>\nbyte echo(boolean commande)<\/p>\n<p># Protocole<br \/>\nbyte aiguillage(boolean commande, byte emetteur, byte recepteur)<br \/>\nbyte statusAiguillage(byte module)<br \/>\nbyte connexion(boolean commande)<br \/>\nbyte reset()<\/p>\n<p>\/\/ Ecrire un octet, un mot ou un code de 4 octets maximum \/ Lire un octet<br \/>\nvoid writeByte(byte b)<br \/>\nvoid writeWord(word w)<br \/>\nvoid writeCode(unsigned long code)<br \/>\nbyte readByte()<\/p>\n<p># Identification du Minitel<br \/>\nunsigned long identifyDevice()<\/p>\n<p>&#8212;<\/p>\n<p><u>Possibilit\u00e9s pour attributs(byte attribut)<\/u> :<\/p>\n<p># Couleur de caract\u00e8re<br \/>\nCARACTERE_NOIR \/ CARACTERE_ROUGE \/ CARACTERE_VERT \/ CARACTERE_JAUNE<br \/>\nCARACTERE_BLEU \/ CARACTERE_MAGENTA \/ CARACTERE_CYAN \/ CARACTERE_BLANC<\/p>\n<p># Couleur de fond<br \/>\nFOND_NOIR \/ FOND_ROUGE \/ FOND_VERT \/ FOND_JAUNE<br \/>\nFOND_BLEU \/ FOND_MAGENTA \/ FOND_CYAN \/ FOND_BLANC<\/p>\n<p># Taille<br \/>\nGRANDEUR_NORMALE \/ DOUBLE_HAUTEUR \/ DOUBLE_LARGEUR \/ DOUBLE_GRANDEUR<\/p>\n<p># Clignotement ou fixit\u00e9<br \/>\nCLIGNOTEMENT \/ FIXE<\/p>\n<p># D\u00e9but et fin de masquage<br \/>\nMASQUAGE \/ DEMASQUAGE<\/p>\n<p># D\u00e9but ou fin de lignage<br \/>\nDEBUT_LIGNAGE \/ FIN_LIGNAGE<\/p>\n<p># Fond invers\u00e9 ou normal<br \/>\nFOND_NORMAL \/ INVERSION_FOND<\/p>\n<p>&#8212;<\/p>\n<p><u>Possibilit\u00e9s pour printSpecialChar(byte b)<\/u> :<\/p>\n<p>LIVRE \/ DOLLAR \/ DIESE \/ PARAGRAPHE<br \/>\nFLECHE_GAUCHE \/ FLECHE_HAUT \/ FLECHE_DROITE \/ FLECHE_BAS<br \/>\nDEGRE \/ PLUS_OU_MOINS \/ DIVISION<br \/>\nUN_QUART \/ UN_DEMI \/ TROIS_QUART<br \/>\nOE_MAJUSCULE \/ OE_MINUSCULE<br \/>\nBETA<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This program is free software : you can redistribute it and\/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. &#8212; Pour faire interagir un Minitel et une carte Arduino, j&rsquo;ai d\u00e9velopp\u00e9 deux &hellip; <a href=\"https:\/\/entropie.org\/3615\/index.php\/software\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Software&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-98","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/pages\/98"}],"collection":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":46,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/pages\/98\/revisions"}],"predecessor-version":[{"id":6030,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/pages\/98\/revisions\/6030"}],"wp:attachment":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/media?parent=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}