B&B Electronics Asynchronous to Synchronous Converter 2010 Bedienungsanleitung Seite 24

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 43
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 23
Department of Computer Science and Electronics
24
4.3.2. Code generation
4.3.2.1. Flux diagram & Algorithm
Initialize function:
-Set microcontroller’s address
-Read results of calibration from EEPROM
-Initialize port D
-Initialize UART
-Initialize ADC
-Disable transmit
Send results
to EEPROM
UC’s address in
the frame?
Yes
No
Calibration?
Yes
No
Any order from
PPC?
Yes
No
Read analogue data
(During 2 minutes)
Calculate threshold
Read analogue data
Built the frame with the
sensors’ state
Enable transmit
Transmit
Disable transmit
Figure 4-9. Programme flux diagram
Seitenansicht 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 42 43

Kommentare zu diesen Handbüchern

Keine Kommentare