Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-03 Thread Dennis Poon
After some studying, synaser.pas seems to deal with com port instead of the low level UART interface. Can you give me some pointer on directly using UART? I need to implement half-duplex using UART for rs-485 protocol. Thanks. Dennis Michael Schnell wrote: Synaser: http://synapse.ararat.cz/

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-03 Thread Dennis Poon
Michael, I used the synapser.pas unit but the compiler choked at line 232 at the identifier 'B50', 'B576000' not found. Any idea ? Dennis Rates: array[0..MaxRates, 0..1] of cardinal = ( (0, B0), (50, B50), (75, B75), (110, B110), (134, B134), (1

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-03 Thread Paul Breneman
On 07/03/2013 07:18 AM, Dennis Poon wrote: Anyone has some sample codes or links to share on this? So far, I only found this: http://code.google.com/p/fprpbm/source/browse/#svn%2Ftrunk%2Fexamples%2Fminiuart%253Fstate%253Dclosed http://www.ctrlterm.com/

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-03 Thread Michael Schnell
Synaser: http://synapse.ararat.cz/doc/help/synaser.html -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-03 Thread Dennis Poon
Anyone has some sample codes or links to share on this? So far, I only found this: http://code.google.com/p/fprpbm/source/browse/#svn%2Ftrunk%2Fexamples%2Fminiuart%253Fstate%253Dclosed Thanks in advance. Dennis ___ fpc-pascal maillist - fpc-pasca