SlideServe
Menu
Préférences
© SlideServe · v2026

ECT 357

della avatar
12 diapositives · 299 Views · Jul 31, 2014

ECT 357. Ch 4-5 Program Development. Today’s Quote: Your companions are like the buttons on an elevator. They will either take you up or they will take you down. He that walketh with wise men shall be wise: but a companion of fools shall be destroyed. Proverbs 13:20.

ECT 357 - slide 1
01 / 12ECT 357
1 / 17

Télécharger la présentation

ECT 357
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. ECT 357 Ch 4-5 Program Development

  2. Today’s Quote: Your companions are like the buttons on an elevator. They will either take you up or they will take you down. He that walketh with wise men shall be wise: but a companion of fools shall be destroyed. Proverbs 13:20

  3. Microcontroller Programming Overview • Sense Inputs • Device Inputs • Debounce • Analog • Serial Communications

  4. Microcontroller Programming Overview • Control Outputs • LCD • LED’s • Buzzer • Analog • Serial Communications

  5. Algorithms • LCD Display • Serial Communications • Counting Intervals • Debounce • Time Delay • Decision Making • Control

  6. QwikFlash Board I/O • Analog Potentiometer Input • Digital LED Output’s • Temperature Sensor Input • LCD Output • Pushbutton Switch Input • Rotary Pulse Generator • Digital to Analog Converter • Analog and Digital Inputs

  7. Macros MOVLF macro literal, destination movlw literal movwf destination endm

  8. Subroutines Initial MOVLF B’10001110’, ADCON1 MOVLF B’11100001’, TRISA return

  9. Include Statements Include statements point to files which include subroutines, labels, addresses, etc #include P18F452.inc

  10. Vectors org 0x0000 ;Reset Vector nop goto Mainline org 0x0008 ;High Priority Interrupt Vector nop goto $ ;$ symbol means itself org 0x0018 ;Low Priority Interrupt Vector nop goto $

  11. Program Parts • Program Hierarchy • Assembler Directives • Variables • Macros • Vectors • Programs • Subroutines

  12. Assembly • Hex file .hex • Error file .err • List file .lst • Label file .cod