Abstract
A new intelligent milometer base on a microcontroller can count the sum. By taking full use of the processor 89s51 and E² PROM (AT24C02) and sensor of magnetism, it can count the sum of fully distance and the course of development.
Visual 开发 希望对你们有帮助
public static int Rom(int n, int m)//双寄或双偶
{
int count = 0 //第一排Y坐标上要几个
if (n < m)
{
for (int i = 1 i <= n i = i + 2)
{
count++
}
}
else
{
for (int j = 1 j <= m j = j + 2)
{
count++
}
}
return count
} ...
Very low cost, low component count charger/adapter – replaces linear transformer based solutions
• Extremely simple circuit configuration designed for high volume, low cost manufacturing