Ecere SDK/eC Forums http://ecere.org/community/ Print view |
|
Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial port? http://ecere.org/community/viewtopic.php?f=30&t=397 |
Page 1 of 1 |
Author: | gxl1175 [ Wed Dec 17, 2014 9:59 am ] |
Post subject: | Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial port? |
我有时需要用串口与单片机进行通信,Ecere SDK 里有封装好的,简单的串口类吗? I do communication for PC with MCU, Ecere SDK have the Class for serial port? |
Author: | jerome [ Wed Dec 17, 2014 10:09 am ] |
Post subject: | Re: Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial por |
您好,欢迎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 |
Author: | gxl1175 [ Thu Dec 18, 2014 11:08 am ] |
Post subject: | Re: Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial por |
Thanks jerome! But i just want to simply do that, have you any plan to implement a class for serial port ? |
Author: | jerome [ Thu Dec 18, 2014 12:20 pm ] |
Post subject: | Re: Ecere SDK 里有串口类吗?Ecere SDK have the Class for serial por |
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 |
All times are UTC-05:00 | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |