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 escritura simple a una memoria SD con un PIC18F4550. | |
Tarjeta de desarollo: Miuva | |
Compilador: MikroC Pro for PIC | |
Autor: Rodolfo E. Escobar U. | |
Fecha: Enero 2020 | |
..............................................................*/ | |
#include "__Lib_FAT32.h" | |
// -- Variable globales -- | |
char tempStr[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
class Estado(): | |
Tablero = [[0,0,0],[0,0,0],[0,0,0]] | |
Eval = 0 | |
def tablleno(self): | |
for i in range(3): | |
for j in range(3): | |
if self.Tablero[i][j]==0: | |
return False | |
return True |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Sep 21 10:22:29 2019 | |
@author: Rodolfo Escobar [version para SIFT] | |
""" | |
import cv2 | |
import numpy as np | |
import matplotlib.pyplot as plt |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Jul 13 15:08:30 2019 | |
@author: Rodolfo E. Escobar U. | |
""" | |
import tkinter as tk | |
import numpy as np | |
import matplotlib.pyplot as plt |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Jul 2 22:15:13 2019 | |
@author: Rodolfo E. Escobar U. | |
""" | |
import numpy as np | |
import matplotlib.pyplot as plt |
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
\documentclass[border=1pt,convert={density=1600}]{standalone} | |
\usepackage{amsmath} | |
\newenvironment{mymath}{$\displaystyle}{$} | |
\begin{document} | |
\begin{mymath} | |
a^2 + b^2 = c^2 | |
\end{mymath} |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Mar 25 13:22:51 2019 | |
@author: rodolfo | |
""" | |
import pandas as pd | |
import matplotlib.pyplot as plt |
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
/* | |
* File: main.c | |
* Author: Rodolfo E. Escobar U. | |
* | |
* Created on 17 de marzo de 2019, 10:55 PM | |
*/ | |
#include <xc.h> | |
#include <stdio.h> | |
#include <stdbool.h> |
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
/* | |
* File: main.c | |
* Author: Rodolfo E. Escobar Uribe | |
* | |
* Created on 12 de marzo de 2019, 07:16 PM | |
*/ | |
#include "config.h" | |
#include <xc.h> | |
#define _XTAL_FREQ 48000000 |
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 "config.h" | |
#include <xc.h> | |
//#define _XTAL_FREQ 48000000 | |
void init(){ | |
TRISBbits.TRISB0 = 0; // RB0 - salida | |
TRISDbits.TRISD0 = 1; // RD0 - entrada | |
ANSELDbits.ANSD0 = 0; // AN20 - desactivado | |
} |