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
| import os | |
| # Opening my .txt file where my locations are defined, and storing in locations variable as a list | |
| path_project = 'D:/Git Files/Scripts/KML/' | |
| path_locations = path_project + 'data.txt' | |
| my_locations_file = open(path_locations, encoding='utf-8') | |
| locations_raw = my_locations_file.readlines() | |
| db_locations = [] |
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
| /* | |
| * WTV020.c | |
| * | |
| * Author: Victor Dueñas Guardia | |
| * Info: www.netzek.com | |
| */ | |
| #include <avr/io.h> | |
| #include "mdelay.h" |
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
| /* | |
| * HC-SR04.c | |
| * | |
| * Author: Victor Dueñas Guardia | |
| * Info: www.netzek.com | |
| @Ejemplo: | |
| Configurar un ultrasonido para que mida distancias en centímetros. | |
| Pseudocódigo: |
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
| /* | |
| * Servos.c | |
| * | |
| * Author: Victor Dueñas Guardia | |
| * Info: www.netzek.com | |
| @Ejemplo: | |
| Controlar 8 servomotores mediante PC. | |
| Pseudocódigo: |
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
| /* | |
| * Keypad4x4.c | |
| * | |
| * Author: Victor Dueñas Guardia | |
| * Info: www.netzek.com | |
| @Ejemplo: | |
| Leer las teclas y enviarlas mediante UART a la PC. | |
| */ | |
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
| // * Author: Victor Dueñas Guardia | |
| // * Info: www.netzek.com | |
| // @Ejemplo Barrido Display: | |
| // Este programa realiza el conteo de 0 a 9999, al llegar a este valor regresa a cero. | |
| // Aplicamos el uso del barrido de display de cátodo común mediante timers, también usa | |
| // blanqueo del cero. | |
| // Pseudocódigo: | |
| // - Configuro el Timer 0 para producir una interrupcion a 400Hz, esto servira para |
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
| /* | |
| * LCDuC.c | |
| * | |
| * Author: Victor Dueñas Guardia | |
| * Info: www.netzek.com | |
| @Ejemplo Pantalla LCD HD44780 | |
| Este programa muestra las diferentes funciones de la librería | |
| aplicadas a la pantalla LCD. | |
| */ |
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
| // * Author: Victor Dueñas Guardia | |
| // * Info: www.netzek.com | |
| .INCLUDE "M16DEF.INC" | |
| .equ LCD_RS = 0 | |
| .equ LCD_RW = 1 | |
| .equ LCD_E = 2 | |
| LDI R16,HIGH(RAMEND) | |
| OUT SPH,R16 | |
| LDI R16,LOW(RAMEND) |
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
| /* | |
| * FSMTrafficFcn.c | |
| * | |
| * Author: Victor Dueñas Guardia | |
| * Info: www.netzek.com | |
| Implementacion de una maquina de estado finita usando funciones, mas info: | |
| http://www.netzek.com/2014/09/maquina-de-estado-finita-fsm.html | |
| */ | |
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
| /* | |
| * FSMTraffic.c | |
| * | |
| * Author: Victor Dueñas Guardia | |
| * Info: www.netzek.com | |
| Implementacion de una maquina de estado finita, mas info: | |
| http://www.netzek.com/2014/09/maquina-de-estado-finita-fsm.html | |
| */ | |
NewerOlder