Ecere SDK/eC Forums • View topic - Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial port?




Ecere SDK/eC Forums

Ecere Developers Community

Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial port?

来自中国的朋友,欢迎您在本版面使用中文讨论问题。请注意,如果您想得到不懂中文的人的帮助,请同时提供英文译文。
Help and discussions in Chinese.

Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial port?

Postby gxl1175 » Wed Dec 17, 2014 9:59 am

我有时需要用串口与单片机进行通信,Ecere SDK 里有封装好的,简单的串口类吗?
I do communication for PC with MCU, Ecere SDK have the Class for serial port?
gxl1175
 
Posts: 2
Joined: Wed Dec 17, 2014 9:27 am

Re: Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial por

Postby jerome » Wed Dec 17, 2014 10:09 am

您好,欢迎Ecere!

We don't have any Ecere class for accessing the serial port at the moment.

However, you should be able to use the POSIX or Win32 API.

http://ulisse.elettra.trieste.it/servic ... asics.html

http://msdn.microsoft.com/en-us/library/ff802693.aspx

You could also create a class that derives from the base 'File' class to expose this functionality has an Ecere 'File' class.

Regards,

-Jerome
jerome
Site Admin
 
Posts: 614
Joined: Sat Jan 16, 2010 11:16 pm

Re: Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial por

Postby gxl1175 » Thu Dec 18, 2014 11:08 am

Thanks jerome! But i just want to simply do that, have you any plan to implement a class for serial port ? :D
gxl1175
 
Posts: 2
Joined: Wed Dec 17, 2014 9:27 am

Re: Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial por

Postby jerome » Thu Dec 18, 2014 12:20 pm

We do not have plans for implementing such a class at the moment.

However you're welcome to submit one as a contribution, and we would be happy to review it, suggest improvements and possibly include it as part of the SDK.

Regards,

-Jerome
jerome
Site Admin
 
Posts: 614
Joined: Sat Jan 16, 2010 11:16 pm


Return to 欢迎使用中文讨论

Who is online

Users browsing this forum: No registered users and 5 guests

cron