Download Microcontroller Based Self-Maintained Aquarium Using PIC16F877

Transcript
Dim x
As Byte
Dim onetime As Byte
Dim DAY_CTR As Byte
Dim H2O_rep As Byte
Dim HF1
As Bit
Dim HF2
As Bit
Dim pH_METER As Float
Dim Lamp
As Bit
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
FOOD_CTR As Byte
FISH
As Byte
TIME_FISH As Byte
VALVE_FLG As Byte
PUMP_FLG As Byte
pH_METER_FLG As Byte
FEEDER_FLG As Byte
BYPASS
As Byte
pHM_CTR
As Byte
TEST
As Byte
PUMP_CHK As Byte
VALVE_CHK As Byte
Dim
Dim
Dim
Vlve
fltr
pmp
Symbol
Symbol
As Bit
As Bit
As Bit
FSW1
FSW2
PORTE.0
PORTE.1
Symbol Feeder_On PORTD.0
Symbol feeder_Off PORTD.1
Symbol FILTER PORTD.2
PORTD.3
Symbol PUMP
Symbol LIGHT
PORTD.4
PORTD.5
Symbol VALVE
Symbol CHLORINE PORTD.6
69