Prueba todas las maneras de configurar una pantalla LCD alfanumérica
Dependencies: FRDM_TSI TextLCD mbed
main.cpp@6:333a2763ad29, 2019-04-02 (annotated)
- Committer:
- Antulius
- Date:
- Tue Apr 02 19:26:46 2019 +0000
- Revision:
- 6:333a2763ad29
- Parent:
- 1:51b1b688179a
- Child:
- 7:af295ac5f904
Plantilla
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Antulius | 6:333a2763ad29 | 1 | /* ########################################################################### |
Antulius | 6:333a2763ad29 | 2 | ** Archivo : main.c |
Antulius | 6:333a2763ad29 | 3 | ** Proyecto : FRDM-KL46Z_Plantilla |
Antulius | 6:333a2763ad29 | 4 | ** Procesador : MKL46Z256VLL4 |
Antulius | 6:333a2763ad29 | 5 | ** Herramienta : Mbed |
Antulius | 6:333a2763ad29 | 6 | ** Version : Driver 01.01 |
Antulius | 6:333a2763ad29 | 7 | ** Compilador : GNU C Compiler |
Antulius | 6:333a2763ad29 | 8 | ** Fecha/Hora : 14-07-2015, 11:48, # CodeGen: 0 |
Antulius | 6:333a2763ad29 | 9 | ** Descripción : |
Antulius | 6:333a2763ad29 | 10 | ** Este proyecto hace... |
Antulius | 6:333a2763ad29 | 11 | ** This module contains user's application code. |
Antulius | 6:333a2763ad29 | 12 | ** Componentes : GPIO, Timer, etc . |
Antulius | 6:333a2763ad29 | 13 | ** Configuraciones : Includes, Stacks y Drivers externos |
Antulius | 6:333a2763ad29 | 14 | ** Autores : |
Antulius | 6:333a2763ad29 | 15 | ** ATEAM Development Group: |
Antulius | 6:333a2763ad29 | 16 | ** - Antulio Morgado Valle |
Antulius | 6:333a2763ad29 | 17 | ** |
Antulius | 6:333a2763ad29 | 18 | ** Versión : Beta |
Antulius | 6:333a2763ad29 | 19 | ** Revisión : A |
Antulius | 6:333a2763ad29 | 20 | ** Release : 0 |
Antulius | 6:333a2763ad29 | 21 | ** Bugs & Fixes : |
Antulius | 6:333a2763ad29 | 22 | ** Date : 20/10/2019 |
Antulius | 6:333a2763ad29 | 23 | ** Added support for Led_RGB |
Antulius | 6:333a2763ad29 | 24 | ** 22/09/2018 |
Antulius | 6:333a2763ad29 | 25 | ** Added LCD Menu, Beta version (with bugs) |
Antulius | 6:333a2763ad29 | 26 | ** |
Antulius | 6:333a2763ad29 | 27 | ** ###########################################################################*/ |
Antulius | 6:333a2763ad29 | 28 | /* |
Antulius | 6:333a2763ad29 | 29 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
Antulius | 6:333a2763ad29 | 30 | : Includes |
Antulius | 6:333a2763ad29 | 31 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
Antulius | 6:333a2763ad29 | 32 | */ |
emilmont | 0:0f00f07ebde0 | 33 | #include "mbed.h" |
chris | 1:51b1b688179a | 34 | #include "TSISensor.h" |
emilmont | 0:0f00f07ebde0 | 35 | |
Antulius | 6:333a2763ad29 | 36 | /* |
Antulius | 6:333a2763ad29 | 37 | :............................................................................... |
Antulius | 6:333a2763ad29 | 38 | : Definiciones |
Antulius | 6:333a2763ad29 | 39 | :............................................................................... |
Antulius | 6:333a2763ad29 | 40 | */ |
Antulius | 6:333a2763ad29 | 41 | |
Antulius | 6:333a2763ad29 | 42 | /* |
Antulius | 6:333a2763ad29 | 43 | +------------------------------------------------------------------------------- |
Antulius | 6:333a2763ad29 | 44 | | Configuración de Puertos |
Antulius | 6:333a2763ad29 | 45 | +------------------------------------------------------------------------------- |
Antulius | 6:333a2763ad29 | 46 | */ |
Antulius | 6:333a2763ad29 | 47 | |
Antulius | 6:333a2763ad29 | 48 | /* |
Antulius | 6:333a2763ad29 | 49 | +------------------------------------------------------------------------------- |
Antulius | 6:333a2763ad29 | 50 | | Variables Globales de Usuario |
Antulius | 6:333a2763ad29 | 51 | +------------------------------------------------------------------------------- |
Antulius | 6:333a2763ad29 | 52 | */ |
Antulius | 6:333a2763ad29 | 53 | |
Antulius | 6:333a2763ad29 | 54 | /* |
Antulius | 6:333a2763ad29 | 55 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
Antulius | 6:333a2763ad29 | 56 | | Definición de Vectores de Interrupción |
Antulius | 6:333a2763ad29 | 57 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
Antulius | 6:333a2763ad29 | 58 | */ |
Antulius | 6:333a2763ad29 | 59 | |
Antulius | 6:333a2763ad29 | 60 | /* END Events */ // Rutinas de Atención a Interrupciones |
Antulius | 6:333a2763ad29 | 61 | |
Antulius | 6:333a2763ad29 | 62 | /* |
Antulius | 6:333a2763ad29 | 63 | ________________________________________________________________________________ |
Antulius | 6:333a2763ad29 | 64 | | |
Antulius | 6:333a2763ad29 | 65 | | Funciones Prototipo |
Antulius | 6:333a2763ad29 | 66 | |_______________________________________________________________________________ |
Antulius | 6:333a2763ad29 | 67 | */ |
Antulius | 6:333a2763ad29 | 68 | // Las Funciones Prototipo van aquí ! |
Antulius | 6:333a2763ad29 | 69 | /* |
Antulius | 6:333a2763ad29 | 70 | #=============================================================================== |
Antulius | 6:333a2763ad29 | 71 | | |
Antulius | 6:333a2763ad29 | 72 | | P R O G R A M A P R I N C I P A L |
Antulius | 6:333a2763ad29 | 73 | | |
Antulius | 6:333a2763ad29 | 74 | #=============================================================================== |
Antulius | 6:333a2763ad29 | 75 | */ |
Antulius | 6:333a2763ad29 | 76 | int main() |
Antulius | 6:333a2763ad29 | 77 | { |
Antulius | 6:333a2763ad29 | 78 | // Inicialización de variables, puertos e interrupciones |
Antulius | 6:333a2763ad29 | 79 | while (true) |
Antulius | 6:333a2763ad29 | 80 | { |
Antulius | 6:333a2763ad29 | 81 | //El Programa principal está aquí !!! |
emilmont | 0:0f00f07ebde0 | 82 | } |
Antulius | 6:333a2763ad29 | 83 | } |