Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Mac address

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive
View previous topic :: View next topic  
Author Message
odinfang68

Bascom Member



Joined: 12 Oct 2005
Posts: 11

taiwan.gif
PostPosted: Wed Feb 22, 2006 1:01 pm    Post subject: Mac address Reply with quote

Dear Sir
I face a problem.
About

'CONFIG TCPIP = int , MAC = mac , IP = ip, SUBMASK = mask, GATEWAY = gateway, LOCALPORT= port, TX= tx, RX= rx , NOINIT= 0|1 , TWI=address , Clock = speed [, baseaddress = address]

How can I assign mac,ip,mask use variable . What is the data type ?
Back to top
View user's profile
odinfang68

Bascom Member



Joined: 12 Oct 2005
Posts: 11

taiwan.gif
PostPosted: Wed Feb 22, 2006 1:28 pm    Post subject: I see a demo from DHCP.bas Reply with quote

I will try it
Back to top
View user's profile
bfdegraaff

Bascom Member



Joined: 15 Nov 2005
Posts: 72
Location: Brazil

brazil.gif
PostPosted: Fri Feb 24, 2006 9:39 am    Post subject: Reply with quote

Dear Odinfang68,

Download
http://www.mcselec.com/index.php?option=com_docman&task=doc_download&gid=150&Itemid=54

and see the file tcpip.bas for a demonstration, notice that this code is for the TWI version. But it can be used for normal version as well. (Remove Tx = $55 , Rx = $55 , Twi = &H80 , Clock = 400000)

Best regards,

Barry de Graaff

_________________
______

Barry de Graaff is a micro electronics student,
formerly on work emplacement at MCS Electronics.

www.barrydegraaff.tk/edb
Back to top
View user's profile Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum