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
/*En el siguiente código se establecerá un protocolo de comunicación seríal entre nuestro Arduino | |
* y una PC para intercambio de información con respecto a las funciones y tareas que Arduino desempeñará | |
* detectar cual boton, de entre 3 botones, ha sido presionado primero e informarle a la PC sobre dicho | |
* dato para saber que concursante responderá primero | |
*/ | |
// se declaran las variables a usar | |
int jugador1=3; | |
int jugador2=4; | |
int jugador3=5; | |
int jugador4=6; |
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
// retirar lineas de comunicación serial con la PC | |
#include <SPI.h> | |
#include <WiFi101.h> | |
char ssid[] = "yourNetwork"; // el nombre de tu red | |
char pass[] = "secretPassword"; // contraseña de la red | |
int keyIndex = 0; // número de indice de red (para redes WEP) | |
int status = WL_IDLE_STATUS; | |
WiFiServer server(80); |
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
// reproductor de wav desde tarjeta SD | |
// wav 11kHz mono | |
#include <SD.h> | |
File dataFile; | |
char fileplay[20] ; //nombre del archivo a reproducir | |
boolean estadop1 = false; | |
boolean preestadop1 = false; | |
boolean estadop2 = false; |
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
#define verde 4 | |
#define amarillo 5 | |
#define rojo 6 | |
#define azul 7 | |
#define control 8 | |
//variable para lectura del control de funcionamiento | |
int estado=0; | |
byte var=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
-- Unidad de sistema de lectura, procesamiento y salida de datos | |
-- de forma simultanea | |
library IEEE; | |
use IEEE.STD_LOGIC_1164.ALL; | |
use IEEE.numeric_std.ALL; | |
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
Programas para poder usar en DCA | |
Para Linux: | |
Oregano | |
Gnucap | |
Gnspice | |
Para Windows: | |
LTSpice | |
Cadence lit version |
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
http://www.taringa.net/posts/apuntes-y-monografias/4699529/Manual-de-Batch-Programacion.html | |
http://www.taringa.net/posts/ciencia-educacion/17416085/Aprender-HTML.html | |
http://www.tufuncion.com/diferentes-lenguajes-programacion |
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 <p18f4550.h> | |
#include <xc.h> | |
#include "stdlib.h" | |
#pragma config FOSC=INTOSC_EC | |
#pragma config WDT=OFF | |
#pragma config PBADEN=OFF | |
#pragma config MCLRE=ON | |
#pragma config DEBUG=ON | |
#pragma config LVP=OFF |
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
http://www.etnassoft.com/biblioteca/lenguaje-ensamblador-para-c/ |
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
;*************************************************************************************** | |
; Cálculos | |
;*************************************************************************************** | |
; X: Condición no importa | |
; Baud rate = 8000000/(16 (51 + 1)) | |
; = 9615.3846 = 9615 | |
; Error = (Baud Rate calculado - Baud Rate deseado)/Baud Rate deseado | |
; = (9615 - 9600)/9600 = 0.16% | |
title "PIC18F4550 Comunicación serie" | |
List p=18F4550;Tipo de procesador |
NewerOlder