<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	תגובות לפוסט: הרצת גו על רספברי פיי	</title>
	<atom:link href="https://internet-israel.com/%D7%9E%D7%93%D7%A8%D7%99%D7%9B%D7%99%D7%9D/raspberrypi/%D7%94%D7%A8%D7%A6%D7%AA-%D7%92%D7%95-%D7%A2%D7%9C-%D7%A8%D7%A1%D7%A4%D7%91%D7%A8%D7%99-%D7%A4%D7%99%D7%99/feed/" rel="self" type="application/rss+xml" />
	<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/</link>
	<description>רן בר-זיק על פיתוח אינטרנט מתקדם</description>
	<lastBuildDate>Sat, 07 Sep 2024 21:50:41 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		מאת: רון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6046</link>

		<dc:creator><![CDATA[רון]]></dc:creator>
		<pubDate>Sat, 07 Sep 2024 21:50:41 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6046</guid>

					<description><![CDATA[בתגובה על &lt;a href=&quot;https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6044&quot;&gt;נחשון&lt;/a&gt;.

לא יודע מה היתה הבעיה. בניתי את המודול מחדש וזה עבד.]]></description>
			<content:encoded><![CDATA[<p>בתגובה על <a href="https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6044">נחשון</a>.</p>
<p>לא יודע מה היתה הבעיה. בניתי את המודול מחדש וזה עבד.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: רון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6045</link>

		<dc:creator><![CDATA[רון]]></dc:creator>
		<pubDate>Fri, 06 Sep 2024 17:23:46 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6045</guid>

					<description><![CDATA[בתגובה על &lt;a href=&quot;https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6044&quot;&gt;נחשון&lt;/a&gt;.

אבל יש לי קובץ go.mod.]]></description>
			<content:encoded><![CDATA[<p>בתגובה על <a href="https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6044">נחשון</a>.</p>
<p>אבל יש לי קובץ go.mod.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: נחשון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6044</link>

		<dc:creator><![CDATA[נחשון]]></dc:creator>
		<pubDate>Fri, 06 Sep 2024 07:22:24 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6044</guid>

					<description><![CDATA[בתגובה על &lt;a href=&quot;https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6042&quot;&gt;רון&lt;/a&gt;.

אם אין לך קובץ go.mod, אתה צריך להריץ go mod init עם שם כלשהו. משהו כמו 

go mod init blink]]></description>
			<content:encoded><![CDATA[<p>בתגובה על <a href="https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6042">רון</a>.</p>
<p>אם אין לך קובץ go.mod, אתה צריך להריץ go mod init עם שם כלשהו. משהו כמו </p>
<p>go mod init blink</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: רון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6042</link>

		<dc:creator><![CDATA[רון]]></dc:creator>
		<pubDate>Thu, 05 Sep 2024 14:36:45 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6042</guid>

					<description><![CDATA[בתגובה על &lt;a href=&quot;https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6038&quot;&gt;נחשון&lt;/a&gt;.

זה לא עזר. למה הוא טוען שאין קובץ go.mod בתיקייה הנוכחית?]]></description>
			<content:encoded><![CDATA[<p>בתגובה על <a href="https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6038">נחשון</a>.</p>
<p>זה לא עזר. למה הוא טוען שאין קובץ go.mod בתיקייה הנוכחית?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: נחשון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6038</link>

		<dc:creator><![CDATA[נחשון]]></dc:creator>
		<pubDate>Tue, 03 Sep 2024 11:58:06 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6038</guid>

					<description><![CDATA[נסה

go mod tidy]]></description>
			<content:encoded><![CDATA[<p>נסה</p>
<p>go mod tidy</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: רון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6037</link>

		<dc:creator><![CDATA[רון]]></dc:creator>
		<pubDate>Tue, 03 Sep 2024 11:27:26 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6037</guid>

					<description><![CDATA[עקבתי אחרי ההוראות אבל קיבלתי שגיאות קומפילציה:

main.go:5:5: no required module provides package periph.io/x/conn/v3/gpio: go.mod file not found in current directory or any parent directory; see &#039;go help modules&#039;
main.go:6:5: no required module provides package periph.io/x/conn/v3/gpio/gpioreg: go.mod file not found in current directory or any parent directory; see &#039;go help modules&#039;
main.go:7:5: no required module provides package periph.io/x/host/v3: go.mod file not found in current directory or any parent directory; see &#039;go help modules&#039;

הנה התוכן של go.mod:

module hello

go 1.23.0

require (
        github.com/jonboulle/clockwork v0.4.0 // indirect
        golang.org/x/image v0.19.0 // indirect
        periph.io/x/cmd v0.0.0-20240809183634-0fe4bbe1d5d9 // indirect
        periph.io/x/conn/v3 v3.7.1 // indirect
        periph.io/x/d2xx v0.1.1 // indirect
        periph.io/x/devices/v3 v3.7.1 // indirect
        periph.io/x/host/v3 v3.8.2 // indirect
)]]></description>
			<content:encoded><![CDATA[<p>עקבתי אחרי ההוראות אבל קיבלתי שגיאות קומפילציה:</p>
<p>main.go:5:5: no required module provides package periph.io/x/conn/v3/gpio: go.mod file not found in current directory or any parent directory; see 'go help modules'<br />
main.go:6:5: no required module provides package periph.io/x/conn/v3/gpio/gpioreg: go.mod file not found in current directory or any parent directory; see 'go help modules'<br />
main.go:7:5: no required module provides package periph.io/x/host/v3: go.mod file not found in current directory or any parent directory; see 'go help modules'</p>
<p>הנה התוכן של go.mod:</p>
<p>module hello</p>
<p>go 1.23.0</p>
<p>require (<br />
        github.com/jonboulle/clockwork v0.4.0 // indirect<br />
        golang.org/x/image v0.19.0 // indirect<br />
        periph.io/x/cmd v0.0.0-20240809183634-0fe4bbe1d5d9 // indirect<br />
        periph.io/x/conn/v3 v3.7.1 // indirect<br />
        periph.io/x/d2xx v0.1.1 // indirect<br />
        periph.io/x/devices/v3 v3.7.1 // indirect<br />
        periph.io/x/host/v3 v3.8.2 // indirect<br />
)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: נחשון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6036</link>

		<dc:creator><![CDATA[נחשון]]></dc:creator>
		<pubDate>Tue, 03 Sep 2024 08:26:27 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6036</guid>

					<description><![CDATA[סליחה על החפירה. שני הנושאים האלה קרובים לליבי, גם RPI וגם GO.

מנסיוני, לא רק שאפשר לכתוב לRPI בGO, אלא שזה ממש ממש מתאים. בעיני זו שפה מושלמת לכתיבה לחומרה (לא realtime, לא צריך להגזים), בגלל המודל האסינכוני שלה, ובעיקר channels. לדוגמא, לכתוב קוד שיושב ומחכה לאירועים שיקרו בחומרה, ואז מגיב להם, זה קל ופשוט לבצע בשפה עצמה, ללא שימוש בספריות.]]></description>
			<content:encoded><![CDATA[<p>סליחה על החפירה. שני הנושאים האלה קרובים לליבי, גם RPI וגם GO.</p>
<p>מנסיוני, לא רק שאפשר לכתוב לRPI בGO, אלא שזה ממש ממש מתאים. בעיני זו שפה מושלמת לכתיבה לחומרה (לא realtime, לא צריך להגזים), בגלל המודל האסינכוני שלה, ובעיקר channels. לדוגמא, לכתוב קוד שיושב ומחכה לאירועים שיקרו בחומרה, ואז מגיב להם, זה קל ופשוט לבצע בשפה עצמה, ללא שימוש בספריות.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: נחשון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6035</link>

		<dc:creator><![CDATA[נחשון]]></dc:creator>
		<pubDate>Tue, 03 Sep 2024 08:03:51 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6035</guid>

					<description><![CDATA[והכי חשוב - מקווה שנתראה בכנס. יש עוד כרטיסים - רוצו לקנות!]]></description>
			<content:encoded><![CDATA[<p>והכי חשוב &#8211; מקווה שנתראה בכנס. יש עוד כרטיסים &#8211; רוצו לקנות!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: נחשון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6034</link>

		<dc:creator><![CDATA[נחשון]]></dc:creator>
		<pubDate>Tue, 03 Sep 2024 08:01:51 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6034</guid>

					<description><![CDATA[טוב, לא יודע אם ואיך אפשר לשלוח פה קוד בתגובות...]]></description>
			<content:encoded><![CDATA[<p>טוב, לא יודע אם ואיך אפשר לשלוח פה קוד בתגובות&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		מאת: נחשון		</title>
		<link>https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6033</link>

		<dc:creator><![CDATA[נחשון]]></dc:creator>
		<pubDate>Tue, 03 Sep 2024 08:01:17 +0000</pubDate>
		<guid isPermaLink="false">https://internet-israel.com/?p=11271#comment-6033</guid>

					<description><![CDATA[בתגובה על &lt;a href=&quot;https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6032&quot;&gt;נחשון&lt;/a&gt;.

func main() {
	_, err := host.Init()
	if err != nil {
		panic(err)
	}
	
	p := gpioreg.ByName(&quot;42&quot;)
	t := time.NewTicker(500 * time.Millisecond)
	l := gpio.Low
	for range t.C {
		p.Out(l)
		l = !l
	}
}]]></description>
			<content:encoded><![CDATA[<p>בתגובה על <a href="https://internet-israel.com/%d7%9e%d7%93%d7%a8%d7%99%d7%9b%d7%99%d7%9d/raspberrypi/%d7%94%d7%a8%d7%a6%d7%aa-%d7%92%d7%95-%d7%a2%d7%9c-%d7%a8%d7%a1%d7%a4%d7%91%d7%a8%d7%99-%d7%a4%d7%99%d7%99/comment-page-1/#comment-6032">נחשון</a>.</p>
<p>func main() {<br />
	_, err := host.Init()<br />
	if err != nil {<br />
		panic(err)<br />
	}</p>
<p>	p := gpioreg.ByName(&quot;42&quot;)<br />
	t := time.NewTicker(500 * time.Millisecond)<br />
	l := gpio.Low<br />
	for range t.C {<br />
		p.Out(l)<br />
		l = !l<br />
	}<br />
}</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
