zip

M37546 smart water meter source code

  • 2013-09-22
  • 20.86KB
  • Points it Requires : 2

M37546 smart water meter asp source code: while ( 1 ) { switch ( g_statusA ) { case 1: /* Card has been inserted, check the type of card and process the corresponding task */ ProcessCard(); break; case 2: /* Process flux */ ProcessFlux(); break; case 3: /* Display some infomation on LCD such as surplus and the status of water meter */ LCDDisplay(); break; case 4: /* Wait for 3s, detect flux and control the valve */ DetectFlux(); break; case 5: /* Power down */ io_powercontrol = 0;// DisableLCD(); //io_LCDCS = 1; /* Disable LCD *//* test */// g_statusA = 4;/* test end */ break; default: /* Accident */ g_statusA = 5; /* If there is an accident, go to power down */ break; }

unfold

You Might Like

Uploader
lamas
 

Recommended ContentMore

Popular Components

Just Take a LookMore

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
×