serial.device

AmigaOS specific forum
leodh
Enthusiast
Enthusiast
Posts: 164
Joined: Sun Nov 06, 2005 6:07 am
Location: Perth Western Australia

serial.device

Post by leodh »

Hi,

I am trying to find out how to access the serial port on the Amiga. I gather it is something to do with the Library but but I am unable to find any examples.

Has anyone been sucessful in using the serial port and PB on the Amiga and how did you go about it.

Any advice would be great.
Regards
Leo
leodh
Enthusiast
Enthusiast
Posts: 164
Joined: Sun Nov 06, 2005 6:07 am
Location: Perth Western Australia

Serial Device and IncludeFile

Post by leodh »

After doing some reading and an Email for a friend it seems that I have to use the IncludeFile "serial.pb". I have tried but I keep getting an Error message that is too long to display and I can't find out whats wrong. ( it cannot find the XIncludefile or something like that.)

I am using

IncludePath "PureBasic:PureInclude\devices/"
IncludeFile "serial.pb"

Has anyone had any success with IncludeFile, if so how do I use it correctly?
Regards
Leo
User avatar
Dreamland Fantasy
Enthusiast
Enthusiast
Posts: 335
Joined: Fri Jun 11, 2004 9:35 pm
Location: Glasgow, UK
Contact:

Post by Dreamland Fantasy »

Are you sure that shouldn't be IncludePath "PureBasic:PureIncludes/devices/" instead of IncludePath "PureBasic:PureIncludes\devices/"?

I'm not in front of my Amiga at the moment so I can't check the what the exact path is, but as long as the correct path is included and the file in question is present within that path there shouldn't be any problem including it.

Kind regards,

Francis.
Post Reply