你好!我对微芯片TCP编程是新的。我目前有一个PIC32 MX360F512L板,并已经做了一些实验室,如编写代码,使LED点亮,当计数从0位到7位,并有一些其他熟悉PIC32板。我的问题是如何使用Socket编程(TCP)连接到Web页面。我将使用这个板。我有MPLABX IDE,编译器32,也使用以太网电缆。我读到以太网启动套件有一个演示,但我有一个MacBook Pro,我读到以太网启动工具包运行在Windows操作系统上。我有PIC32的DM3200 01板和扩展板和一个其他板放在我的PIC32和以太网电缆。我已经阅读了很多关于TCP IP编程如何工作/套接字编程。我理解它是如何工作的,但没有看到很多代码示例或演示,我可以在我的板上使用它连接到一个网页。现在我只想连接板,连接到一个网页,只显示“你好”这个词。我只是想能够做一些简单的事情,然后把网页带来并显示一个问候。有人能帮助我理解如何做到这一点吗?我一直很难找到一个演示代码,我甚至可以打开下载一次,许多其他代码IM阅读似乎有更复杂的行动进行,而我所做的是一个相对简单的任务,似乎。非常感谢!我很感激!也请告诉我,如果我需要提供任何其他信息,我可能错过了。我试图覆盖所有的东西。我也有协调下载的BC它有所有的TCP库和文件,我想我需要,比MPLABX IDE和PIC32,我以前单独添加和谐之前。谢谢!!
以上来自于百度翻译
以下为原文
Hi! I am new to the microchip tcp programming. I current have a PIC32MX360F512L board and have done some labs on it such as wri
ting code for having the LEDs light up in order when counting from bit 0 to bit 7 and a couple others to familiarize with the PIC32 board. It is the dm320001 starter kit.
My question, however is how to connect to a web page using socket programming (TCP).
I would be using this board. I have MPLABX IDE, Compiler 32, and also using an ethernet cable. I read that the ethernet starter kit has a demo for this but I have a macbook pro and I read that the ethernet starter kits run on windows OS.
I have my PIC32 dm320001 board and the expansion board and one other board to put on my PIC32 and the ethernet cable. I have read a lot about how TCP IP programming works / socket programming. I understand HOW it works but do not see many code examples or a demo that I am able to use on my board to connect to a web page. Right now I just want to hook up the board and connect to a web page to just display the word "hello!" I just want to to be able to do something simple like this and bring up the web page and display a greeting.
Is there anyone that can help me understand how to do this? I have been having a lot of trouble finding a demo code and I can even open once downloaded and a lot of the other codes Im reading about seem to have way more complex actions going on whereas what I am doing is a relatively simple task it seems.
Thank you so much! I appreciate it!
Also please let me know if I need to provide any other information that I may have missed. I tried to cover everything.
I also have h
ARMony downloaded bc it has all the tcp libraries and files that I suppose I need, compared to the MPLABX IDE and PIC32 that I previously had alone before adding harmony.
Thank you!!
0