This file contains hidden or 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
| Hi, | |
| I'm Josh, one of the C++ developers on the Platform team. Glad to hear from you! | |
| To get started with the codebase, have a look at | |
| http://developer.mozilla.org/En/Introduction. If you'd like to use | |
| Java, you can get involved with the Mobile Firefox project, which uses | |
| it to create the UI on Android devices. See | |
| https://wiki.mozilla.org/Mobile/Get_Involved for more information. | |
| If you need any help, you can obtain it on IRC. I recommend visiting |
This file contains hidden or 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
| /** | |
| * http://pt.wikipedia.org/wiki/Selection_sort | |
| */ | |
| #include <stdio.h> | |
| #define VL 5 // Tamanho do vetor | |
| int main () { | |
| int v[6], indice, min, i, j; |
This file contains hidden or 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
| <snippet> | |
| <content><![CDATA[ | |
| #include <stdio.h> | |
| int main () { | |
| $0 | |
| return 0; | |
| } |
This file contains hidden or 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
| void setup() { | |
| Wire.begin( 2 ); | |
| Wire.onRequest( requestEvent ); | |
| Wire.onReceive( receiveEvent ); | |
| } | |
| void requestEvent(){ |
This file contains hidden or 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 <Wire.h> | |
| int botoesEstado[4], portasEstado[5], movimentacaoEstado[3], andar = 0; | |
| int chamadasExternas[4], chamadasInternas[4], reqAbrir, reqFechar, emergencia = 0; | |
| int listaPrincipal[4], listaEspera[4] = {0}; | |
| void setup () { | |
| Wire.begin(); // Define como Master |
This file contains hidden or 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 <LiquidCrystal.h> | |
| #include <Wire.h> | |
| int x, y, resposta = 0; | |
| LiquidCrystal lcd(2, 3, 4, 5, 6, 7); | |
| void setup() { | |
| lcd.begin(16, 2); | |
| lcd.home(); | |
| Wire.begin();// Inicia a comunicação I2C, o Master não precisa de endereço |
This file contains hidden or 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 <LiquidCrystal.h> | |
| #include <Wire.h> | |
| int x, y, resposta = 0; | |
| LiquidCrystal lcd(2, 3, 4, 5, 6, 7); | |
| void setup() { | |
| lcd.begin(16, 2); | |
| lcd.home(); | |
| Wire.begin(2);// Inicia a comunicação I2c, e este arduino possui endereço 2 |
This file contains hidden or 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
| http://tumblr.everlane.com/ | |
| http://blog.hipmunk.com/ | |
| http://blog.shoplrapp.com/ | |
| http://blog.mailgun.net/ | |
| http://blog.grooveshark.com/ | |
| http://blog.path.com/ | |
| http://blog.instagram.com/ | |
| http://blog.oink.com/ | |
| http://blog.shelby.tv/ | |
| http://blog.roamz.com/ |
This file contains hidden or 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 <Wire.h> | |
| int state; | |
| byte SW0 = 3; | |
| byte SW1 = 2; | |
| byte SW2 = 1; | |
| byte minutes; | |
| byte hours; |
This file contains hidden or 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
| char letra[4]={'a','b','c','d'}; | |
| int brilho [4]={0,80,160,255}; | |
| int stateLed=10; | |
| int infoLed=9; | |
| int info; | |
| int flag = 0; | |
| int resMaster = 0; | |
| String number; |