Development |
Would you like to control the MRDS192 based RDS encoder from your own application?
This section shows you an example how to do it in Delphi. All sources and compiled exe
file are included. In other programming languages the implementation is very similar. A
DLL is also provided for anybody who wants a ready to use solution. |
|
Since Delphi can't directly access I/O ports, a
driver with application example is provided. The Delphi example already includes it.
Note: This is a development example only. If you
look for full-featured control application for the MiniRDS, you can download it here.
The example shows how to send and receive program
service name (PS) to/from the MiniRDS unit. After clicking on Send button the string from
edit box is sent to the RDS encoder and new PS is showed immediately. After clicking on
Receive button the string is read from the internal MRDS192 memory and showed in the edit
box.
Find detailed description in Unit1.pas file. You may
download the MRDS192 datasheet, check what RDS data are placed
at which addresses and start to experiment.
Following example shows the signal waveforms present
directly on the SCL/SDA pins. Click to enlarge.
Please refer to the MRDS192 datasheet for more
information.
The MRDSIO.DLL is a dynamic-link library that
enables easy access to the MRDS192 based RDS encoder from PC and user application. The
user does not need to solve the information above, like how to access the communication
ports or how to implement the communication protocol. Simply call the DLL functions from
your application. An example and full documentation is included in the DLL zip file.
|