Directed Electronics 3200HS Technické informace Strana 23

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 99
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 22
SCI to SPI Peripheral Communication in V850ES Microcontrollers
Main( ) then calls Temp_Init( ) to initialize the temperature sensors and the CSI/SPI interface used
to communicate with the sensors. If an error is detected, an error code is displayed and the program
enters an endless loop.
To indicate proper initialization, a pair of dashes is shown in the LED. TM00_Start( ) is called to
start the TM00 timer for a periodic 1 millisecond interrupt, used for debouncing the input switches.
The main( ) program then enters the main program loop. The program checks the state of the SW2
and SW3 switches for the action to perform.
Figure 12. Main( ): Main Program for NEC Electronics CSI to SPI Serial Communication
Yes
No
SW2 only?
Yes
No
SW2 only?
AA
Initialize switches and LED displayInitialize switches and LED display
CALL Temp_Init( )CALL Temp_Init( )
BB
Display “- -” in LED display
CALL TM00_Start( ) to debounce
Display “- -” in LED display
CALL TM00_Start( ) to debounce
Get state of SW2 and SW3Get state of SW2 and SW3
CC
temp = Temp_Read_1( )temp = Temp_Read_1( )
CALL Temp_Display(temp)
Wait for switches different
CALL Temp_Display(temp)
Wait for switches different
EE
Temp = Temp_Read_2( )Temp = Temp_Read_2( )
DD
Yes
No
SW3 only?
Yes
No
SW3 only?
CALL Temp_Display(temp)
Wait for switches different
CALL Temp_Display(temp)
Wait for switches different
EE
If SW2 is pressed, the MAX6627 temperature sensor is read by calling Temp_Read_1( ), and the
variable temp is set to the value read. The temperature is then displayed in the LED by calling
Temp_Display(temp). Main() then waits for the switch state to be different.
If SW3 is pressed, the DS1722 temperature sensor is ready by calling Temp_Read_2( ), setting
temp to the value read. The temperature is then displayed in the LED by calling
Temp_Display(temp). Main() then waits for the switch state to be different.
17
Zobrazit stránku 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 98 99

Komentáře k této Příručce

Žádné komentáře

Speed Queen SDENYAGS173TW01 manuels

Manuels d'utilisation et guides de l'utilisateur pour Machines à laver Speed Queen SDENYAGS173TW01.
Nous fournissons des manuels en pdf 1 Speed Queen SDENYAGS173TW01 à télécharger gratuitement par type de document : Brochure






Plus de produits et de manuels pour Machines à laver Speed Queen

Modèles Type de document
SWNSX2SP115TW02 Fiche technique   Speed Queen SWNSX2SP115TW02 Specifications Sheet, 2 pages
SWNNC2HP115TW02 Fiche technique   Speed Queen SWNNC2HP115TW02 Spec Sheet, 2 pages
SFNNCRSP115TW02 Fiche technique   Speed Queen SFNNCRSP115TW02 Specification Sheet, 2 pages
AFNE9BSP113TN01 Manuel d'installation   Speed Queen AFNE9BSP113TN01 Installation Instructions, 12 pages
LFNE5BSP115TW01 Fiche technique   Speed Queen LFNE5BSP115TW01 Spec Sheet [no] , 2 pages
SF7000WE Fiche technique   Speed Queen SF7000WE Spec Sheet, 1 pages
SCT040FN0FXU40B000 Brochure   Speed Queen SCT040FN0FXU40B000 On Premose Brochure with Specs, 4 pages
SFNNYASG115TW01 Fiche technique   Speed Queen SFNNYASG115TW01 Spec Sheet [it] , 2 pages
SF7000WE Manuel de l'utilisateur   Speed Queen SF7000WE Washer Manual, 32 pages
SFNNYASP115TW01 Fiche technique   Speed Queen SFNNYASP115TW01 Spec Sheet, 2 pages
LFN50RSP113TW01 Fiche technique   Speed Queen LFN50RSP113TW01 Spec Sheet, 2 pages
SWNNY2SP113TW01 Fiche technique   Speed Queen SWNNY2SP113TW01 Spec Sheet, 2 pages
LWNE22SP115TW01 Fiche technique   Speed Queen LWNE22SP115TW01 Spec Sheet, 2 pages
SFNNCASP115TW01 Fiche technique   Speed Queen SFNNCASP115TW01 Specification Sheet, 2 pages
LFN50RSP115TW01 Fiche technique   Speed Queen LFN50RSP115TW01 Spec Sheet, 2 pages
SFNNCRSP115TW02 Fiche technique   Speed Queen SFNNCRSP115TW02 Spec Sheet, 2 pages
SSEMNAGS301NW01 Brochure   Speed Queen SSEMNAGS301NW01 Brochure [ja] [zh] , 4 pages
SWNNY2SP115TW01 Fiche technique   Speed Queen SWNNY2SP115TW01 Spec Sheet, 2 pages
SFNNYRSP115TW01 Fiche technique   Speed Queen SFNNYRSP115TW01 Specifications Sheet, 2 pages
LWN432SP115TW01 Fiche technique   Speed Queen LWN432SP115TW01 Spec Sheet, 2 pages