<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Porting Library from Arduino (MCP2515)</title>
		<link>http://forums.leaflabs.com/topic.php?id=1154</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:07:53 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=1154" rel="self" type="application/rss+xml" />

		<item>
			<title>crenn on "Porting Library from Arduino (MCP2515)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1154#post-9894</link>
			<pubDate>Mon, 26 Mar 2012 02:40:59 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">9894@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You should be able to.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsgamermike on "Porting Library from Arduino (MCP2515)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1154#post-9887</link>
			<pubDate>Sun, 25 Mar 2012 19:16:23 +0000</pubDate>
			<dc:creator>dsgamermike</dc:creator>
			<guid isPermaLink="false">9887@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Anyone?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsgamermike on "Porting Library from Arduino (MCP2515)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1154#post-9819</link>
			<pubDate>Sun, 18 Mar 2012 15:33:51 +0000</pubDate>
			<dc:creator>dsgamermike</dc:creator>
			<guid isPermaLink="false">9819@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If I put all the spi init stuff in the library, I can get it to compile, but I can't not get data from the can chip. That then leaves no references to SPI within the program itself, but rather just functions to the library to do the spi transfer.&#60;br /&#62;
Can I define HardwareSPI spi(2) and spi.begin(SPI_9MHZ, MSBFIRST, 0); both in the library?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "Porting Library from Arduino (MCP2515)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1154#post-7170</link>
			<pubDate>Tue, 15 Nov 2011 19:10:40 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">7170@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You could define HardwareSPI spi(2) in both places, or you can pass a pointer to a HardwareSPI instance and use that instead!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsgamermike on "Porting Library from Arduino (MCP2515)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1154#post-7141</link>
			<pubDate>Thu, 10 Nov 2011 22:40:28 +0000</pubDate>
			<dc:creator>dsgamermike</dc:creator>
			<guid isPermaLink="false">7141@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Anyone? How do I tell it to use SPI 2 in both the library and the setup? Do I have to define HardwareSPI spi(2); in both places? Also, Do I where do I define  spi.begin(SPI_9MHZ, MSBFIRST, 0);
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsgamermike on "Porting Library from Arduino (MCP2515)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1154#post-7109</link>
			<pubDate>Mon, 07 Nov 2011 10:06:47 +0000</pubDate>
			<dc:creator>dsgamermike</dc:creator>
			<guid isPermaLink="false">7109@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Do all I have to do is change the SPI.transfer(x) to HardwareSPI.transfer? I'm it's giving me the most errors in the .cpp file. About 3/4 of the way down is where the SPI commands are giving me trouble.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsgamermike on "Porting Library from Arduino (MCP2515)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1154#post-7103</link>
			<pubDate>Sun, 06 Nov 2011 21:53:45 +0000</pubDate>
			<dc:creator>dsgamermike</dc:creator>
			<guid isPermaLink="false">7103@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello all,&#60;/p&#62;
&#60;p&#62;I would like to get the MCP2515 working with the Maple. I have it working perfectly for the Arudino, but i'd like to upgrade the design to the maple for more speed. Basically I want to use the same library and code, and from what I see, the SPI commands are not quite the same. I will post the code here. &#60;a href=&#34;http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1289195675&#34; rel=&#34;nofollow&#34;&#62;http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1289195675&#60;/a&#62; The code is about half way down the page. How easy would it be to get that working on the Maple?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
