View previous topic :: View next topic |
Author |
Message |
Hustlar
Joined: 19 Jul 2007 Posts: 4 Location: Germany
|
Posted: Sat Jul 28, 2007 10:02 pm Post subject: Atmega128 (SCL\INT0) PD0 with IIM7010A module |
|
|
I am working on a webserver using Atmega128 and a IIM7010A module, since i need to use the pin PDO for the SCL and at the same time INT0(in [i]config Tcpip = Int0[\i]), can i use INT4,5,6,7 instead of INT0 which i would have already used-in the bascom index they say i have ti use INT0 to configure Tcpip and i have tried with INT4 but my code gets stuck on [i]config Tcpip = Int0[\i].
My main question is, is it possible then to use Atmega128 as a controller for my webserver? if yes, how then can i configure Tcpip?
hope to get your responses
cheers _________________ Peace |
|
Back to top |
|
|
Frankeman
Joined: 11 Aug 2004 Posts: 948 Location: the Netherlands
|
Posted: Sun Jul 29, 2007 8:28 am Post subject: |
|
|
Hi, and welcome to this friendly forum.
You can use another Int for Config TCPIP other than Int0.
Underneath are some statements from the Bascom AVR help.
The interrupt to use such as INT0 or INT1.
The CONFIG TCPIP statement may be used only once.
Interrupts must be enabled before you use CONFIG TCPIP.
Configuring the W3100A will init the chip.
After the CONFIG TCPIP, you can already PING the chip!
Frank. |
|
Back to top |
|
|
Hustlar
Joined: 19 Jul 2007 Posts: 4 Location: Germany
|
Posted: Tue Jul 31, 2007 8:22 am Post subject: |
|
|
perfect!
Thanks, it works well now:)
Peter _________________ Peace |
|
Back to top |
|
|
Arera
Joined: 23 Sep 2007 Posts: 386 Location: Wuppertal, Germany
|
Posted: Mon Sep 24, 2007 1:39 pm Post subject: Your Signature |
|
|
Hi Peter,
Iīm shure you didnīt know:
Your signature "Arbeit macht frei" is a Nazi-Slogan (Poor translation: "Working means freedom"). The wrote it on the KZ-Gates as a "welcome" for those millions who where killed then. You might have a lot of work, and Iīm happy itīs satifying to you, but please change you signature!
Please give a short reply, so everyone can see you read this hint, and you realy changed the signature.
Thanks, Marc |
|
Back to top |
|
|
Hustlar
Joined: 19 Jul 2007 Posts: 4 Location: Germany
|
Posted: Mon Sep 24, 2007 3:34 pm Post subject: |
|
|
Thanks man!
I didnt know, and i apologize to all who might have been offended.
peace _________________ Peace |
|
Back to top |
|
|
Arera
Joined: 23 Sep 2007 Posts: 386 Location: Wuppertal, Germany
|
Posted: Mon Sep 24, 2007 5:08 pm Post subject: |
|
|
cool...
peace, Marc |
|
Back to top |
|
|
|