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
Esto es una prueba |
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 <WiFi101.h> | |
#include <WiFiUdp.h> | |
const int pinBoton = 2; | |
bool estadoBoton; | |
//Configuracion de la red | |
char ssid[] = "Demo Servidor LED"; | |
char pass[] = "micropython"; | |
IPAddress dirRemota(10, 42, 0, 150); |
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
const int totalCol = 40; | |
const int totalFil = 16; | |
int pinFil[totalFil] = { 22, 24, 26, 28, 30, 32, 34, 36, | |
38, 40, 42, 44, 46, 48, 50, 52 }; | |
int pinClk = 4; | |
int pinDout = 2; | |
int pinClr = 7; | |
bool frameBuffer[totalFil][totalCol]; |
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
Modulo usado: GPS-SKM53 | |
Captura de datos desde la terminal de arduino: | |
LAT=13.714256 LON=-89.223365 SAT=5 PREC=449 CHARS=311 SENTENCES=2 CSUM ERR=0 | |
Libreria usada para descodificar los datos de GPS: | |
https://github.com/mikalhart/TinyGPS | |
Tutorial para conectar y usar el modulo (el codigo esta descontinuado): | |
http://goo.gl/zHBF0d |
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 <SPI.h> | |
#include "WiFly.h" | |
WiFlyServer server(80); | |
void setup() { | |
WiFly.begin(); | |
Serial.begin(9600); | |
Serial.print("IP: "); | |
Serial.println(WiFly.ip()); |
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
LIBRARY ieee; | |
USE ieee.std_logic_1164.ALL; | |
use ieee.std_logic_unsigned.all; | |
ENTITY Banca_Prueba IS | |
END Banca_Prueba; | |
ARCHITECTURE behavior OF Banca_Prueba IS | |
COMPONENT Principal | |
PORT( |
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
int mapa_botones[9] = { 5, 6, 7, 8, 9, 10, 16, 14, 15 }; | |
int BotonesAnt[9] = { 1, 1, 1, 1, 1, 1, 1, 1, 1 }; | |
int BotonesAct[9] = { 1, 1, 1, 1, 1, 1, 1, 1, 1 }; | |
void setup() { | |
int i; | |
for (i=0; i<9; i++) { | |
digitalWrite(mapa_botones[i], HIGH); | |
pinMode(mapa_botones[i], INPUT); |
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<stdio.h> | |
#include<ctype.h> | |
#include<stdlib.h> | |
#include<string> | |
#define TAM_BUFFER 100 | |
using namespace std; | |
class Lexico | |
{ | |
char *nombreFichero;//Nombre del fichero fuente |
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
library IEEE; | |
use IEEE.STD_LOGIC_1164.ALL; | |
use IEEE.STD_LOGIC_ARITH.ALL; | |
use IEEE.STD_LOGIC_UNSIGNED.ALL; | |
use work.JPU16_Pack.all; | |
package JPU16_GPIO_Pack is | |
component JPU16_GPIO is | |
generic (nDataBits: integer := 16; | |
Data_Addr: JPU16_IO_ADDR_BUS := X"4000"; |
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
-- Ejemplo de aplicacion de JPU16 | |
-- ------------------------------ | |
-- Autor: Joksan Alvarado | |
-- | |
-- La siguiente entidad VHDL es un ejemplo simple de como conectar un solo puerto de salida al | |
-- procesador JPU16 para controlar 8 LEDs al exterior del FPGA. Vease el archivo "indicaciones" | |
-- para mas informacion acerca de como integrarlo a un proyecto de ISE y correr el programa de | |
-- demostracion. | |
------------------------------------------------------------ |