<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://stopstogo.com/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://stopstogo.com/dokuwiki/feed.php">
        <title>Dan's Wiki projects:a4sim:raspberrypi</title>
        <description></description>
        <link>http://stopstogo.com/dokuwiki/</link>
        <image rdf:resource="http://stopstogo.com/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-04T15:44:47+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:listenforudpexample&amp;rev=1569377379&amp;do=diff"/>
                <rdf:li rdf:resource="http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:start&amp;rev=1582391238&amp;do=diff"/>
                <rdf:li rdf:resource="http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:writetoi2cexample&amp;rev=1569377192&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://stopstogo.com/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Dan's Wiki</title>
        <link>http://stopstogo.com/dokuwiki/</link>
        <url>http://stopstogo.com/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:listenforudpexample&amp;rev=1569377379&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-25T02:09:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>projects:a4sim:raspberrypi:listenforudpexample</title>
        <link>http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:listenforudpexample&amp;rev=1569377379&amp;do=diff</link>
        <description>Listen For UDP Example, from X-Plane Plugin


#include &lt;arpa/inet.h&gt;
#include &lt;netinet/in.h&gt;
#include &lt;stdio.h&gt;
#include &lt;sys/types.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;unistd.h&gt;
#include &lt;string.h&gt;
#include &lt;stdlib.h&gt;

#define SIZE 512
#define MY_PORT 49200

#define DEST_PORT 49000
#define DEST_IP &quot;192.168.0.12&quot;

#define MAXLINE 1024
#define MAX_DREFS 80

void diep(char *s)
{
    perror(s);
    exit(1);
}

void print_hex_memory(void *mem) {
  int i;
  unsigned char *p = (unsigned char *)mem;
  …</description>
    </item>
    <item rdf:about="http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:start&amp;rev=1582391238&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-22T17:07:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>projects:a4sim:raspberrypi:start</title>
        <link>http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:start&amp;rev=1582391238&amp;do=diff</link>
        <description>Raspberry Pi - Connor

[9/24/2019] Yesterday, I completely started over by formatting a 32 Gb Micro USB card and installed Raspbian 3.2 on it. This installs Debian Buster

	*  Turned on I2C and VNCServer with sudo raspi-config
	*  Set 192.168.0.8 as static IP in both Ethernet and WiFi.</description>
    </item>
    <item rdf:about="http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:writetoi2cexample&amp;rev=1569377192&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-25T02:06:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>projects:a4sim:raspberrypi:writetoi2cexample</title>
        <link>http://stopstogo.com/dokuwiki/doku.php?id=projects:a4sim:raspberrypi:writetoi2cexample&amp;rev=1569377192&amp;do=diff</link>
        <description>io2ioctlWriteToTestDevice.cpp using ioctl library



#include &lt;unistd.h&gt;				//Needed for I2C port
#include &lt;fcntl.h&gt;				//Needed for I2C port
#include &lt;sys/ioctl.h&gt;			//Needed for I2C port
#include &lt;linux/i2c-dev.h&gt;		//Needed for I2C port
#include &lt;iostream&gt;

int file_i2c;
int length;
unsigned char buffer[60] = {0};

int main() {

	
	//----- OPEN THE I2C BUS -----
	char *filename = (char*)&quot;/dev/i2c-1&quot;;
	if ((file_i2c = open(filename, O_RDWR)) &lt; 0)
	{
		//ERROR HANDLING: you can check errno to se…</description>
    </item>
</rdf:RDF>
