Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
resources:eval:user-guides:circuits-from-the-lab:cn0575 [18 May 2023 21:12]
Brandon Bushey [General Description]
resources:eval:user-guides:circuits-from-the-lab:cn0575 [18 May 2023 23:35]
Mark Thoren Add CN0575-specific example
Line 257: Line 257:
 \\ \\
 ---- ----
 +==== More Complete Example with Digital I/O ====
 +A more complete example that blinks the onboard LED and reads the pushbutton is also provided. Note that this script can be run either directly on the Raspberry Pi, or from a remote host computer.
 +\\
 +From the Raspberry Pi command line, run:
 +<​code>​.../​pyadi-iio/​examples $ sudo python cn0575_example.py</​code>​
 +Or from PowerShell on a Windows remote host, run:
 +<​code>​...\pyadi-iio\examples>​ python .\cn0575_example.py</​code>​
 +The script will attempt to automatically locate the CN0575 over the network connection. The CN0575'​s IIO context URI can also be passed to the script explicitly, where **www.xxx.yyy.zzz** is the board'​s IP address:
 +<​code>​C:​\temp\pyadi-iio\examples>​ python .\cn0575_example.py ip:​www.xxx.yyy.zzz</​code>​
 +Typical output is shown below:
 +\\
 +{{ :​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0575:​cn0575_example_screenshot.png?​nolink&​500 |}}
 +\\
  
 +----
 ===== Schematic, PCB Layout, Bill of Materials ===== ===== Schematic, PCB Layout, Bill of Materials =====
  
resources/eval/user-guides/circuits-from-the-lab/cn0575.txt · Last modified: 28 Aug 2023 16:13 by Mark Thoren