- Posts: 3
- Thank you received: 0
Write serial port
- GingerPotato
- Topic Author
- Offline
- New Member
-
Less
More
8 years 10 months ago #103134
by GingerPotato
Write serial port was created by GingerPotato
I have got USB to Serial device realized on PIC18 microcontroller.
I need to write to and read from it. How to do it?
I don't care about latency. Driver would work in servo thread.
I know there is rtapi_outb function but I don't really understand its usage.
I need to write to and read from it. How to do it?
I don't care about latency. Driver would work in servo thread.
I know there is rtapi_outb function but I don't really understand its usage.
Please Log in to join the conversation.
8 years 10 months ago #103139
by PCW
Replied by PCW on topic Write serial port
Probably the easiest way is to use a userspace python routine/component:
linuxcnc.org/docs/html/hal/halmodule.html
It will not be real time so expect 10s of ms delays
linuxcnc.org/docs/html/hal/halmodule.html
It will not be real time so expect 10s of ms delays
Please Log in to join the conversation.
Time to create page: 0.087 seconds
