[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] string to int converter source
From: |
Leo Hendrawan |
Subject: |
[avr-gcc-list] string to int converter source |
Date: |
Thu, 2 Dec 2004 13:42:13 +0000 (GMT) |
Hello all,
does anyone have a piece of code compiled with WinAVR that could convert
an array string to an int type variable?
i'm developing AVR uIP 0.9 and i need to add feature that could change the
IP addr of the uIP node. so i have to boot the conf from EEPROM.
i've done with the booting process (and writing configuration to EEPROM
is quite easy i'm sure, thanks to AVR-GCC developers :D )
but i have difficulties in finding efficient code to convert string(ascii)
to int and int to string(ascii). i'm using it to convert IP addresses, sub
net mask to int type variable stored in EEPROM.
by the way, i'm quite 'a new guy' in this mailing list, i'm feeling very
welcomed here.. thanks to all of avr-gcc list members.....
--------------------------
Leo Hendrawan
13200005
at 13:32 Dec 2
--------------------------
- [avr-gcc-list] string to int converter source,
Leo Hendrawan <=