<?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: Display Shields</title>
		<link>http://forums.leaflabs.com/topic.php?id=999</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:08:13 +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=999" rel="self" type="application/rss+xml" />

		<item>
			<title>pmp0x on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-12455</link>
			<pubDate>Wed, 15 Aug 2012 17:35:48 +0000</pubDate>
			<dc:creator>pmp0x</dc:creator>
			<guid isPermaLink="false">12455@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I try to make it work right now…haven't tested it much but the basic is working…(still lot of nasty Debug and so on… no cleanup at all)&#60;br /&#62;
you can find it here:&#60;br /&#62;
&#60;a href=&#34;https://github.com/pmp0x/StudienarbeitX&#34; rel=&#34;nofollow&#34;&#62;https://github.com/pmp0x/StudienarbeitX&#60;/a&#62;&#60;br /&#62;
Check Library/WiFlySerial it's from this side:http://cairohackerspace.blogspot.de/
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-12446</link>
			<pubDate>Wed, 15 Aug 2012 10:49:31 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">12446@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am also looking for a way to modify the wiFly lib for Maple.&#60;/p&#62;
&#60;p&#62;The lib Natalie is refering to must have been updated. Or maybe an older version of the lib was used (if so, wich one?).&#60;br /&#62;
Anyone has a workaround he can post for everyone to know?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robodude666 on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-11748</link>
			<pubDate>Sun, 15 Jul 2012 11:21:45 +0000</pubDate>
			<dc:creator>robodude666</dc:creator>
			<guid isPermaLink="false">11748@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You should have no issue getting the TouchShield to work.&#60;/p&#62;
&#60;p&#62;It only uses D2 and D3 for software serial communication. Otherwise, the TouchShield is an Arduino on its own with an LCD and its own IDE. You create the Maple and TouchShield sketches separately. Use serial to communicate between the two. Here's an article on it:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://iamshadowlord.com/2010/03/touchshield-slide-two-way-communications.html&#34; rel=&#34;nofollow&#34;&#62;http://iamshadowlord.com/2010/03/touchshield-slide-two-way-communications.html&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>asterix on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-11720</link>
			<pubDate>Fri, 13 Jul 2012 09:29:14 +0000</pubDate>
			<dc:creator>asterix</dc:creator>
			<guid isPermaLink="false">11720@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I downloaded the library you referenced too however I'm getting far more compile errors than just one. Its also missing quite a few of the files you're referring to (_spi.h, _spi.c etc). Any chance you could send me your working library?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Natalie on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-7943</link>
			<pubDate>Mon, 30 Jan 2012 03:57:03 +0000</pubDate>
			<dc:creator>Natalie</dc:creator>
			<guid isPermaLink="false">7943@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I finally sorted it out ...&#60;br /&#62;
Note that the following is for the SPI1 port, but can be easily modified to match the SPI2 or SPI3 port if available ...&#60;/p&#62;
&#60;p&#62;* In &#34;_spi.h&#34;, include the &#34;stdint.h&#34; and remove the &#34;pins_arduino.h&#34;&#60;br /&#62;
* In &#34;_spi.c&#34;, include headers &#34;_Spi.h&#34;, &#34;libmaple.h&#34;, &#34;spi.h&#34;, &#34;wirish.h&#34;&#60;br /&#62;
* In &#34;_spi.c&#34;, declare the pins as follow:&#60;br /&#62;
void SpiDevice::_initPins() {&#60;br /&#62;
    pinMode(BOARD_SPI1_MOSI_PIN, OUTPUT_AF_PP);&#60;br /&#62;
    pinMode(BOARD_SPI1_MISO_PIN, INPUT);&#60;br /&#62;
    pinMode(BOARD_SPI1_SCK_PIN, OUTPUT_AF_PP);&#60;br /&#62;
    pinMode(_selectPin, OUTPUT);&#60;br /&#62;
    deselect();&#60;br /&#62;
}&#60;br /&#62;
* I create the &#34;OUTPUT_AF_PP&#34; case in &#34;wirish_digital.cpp&#34; and &#34;io.h&#34; like this:&#60;br /&#62;
case OUTPUT_AF_PP:&#60;br /&#62;
    outputMode = GPIO_AF_OUTPUT_PP;&#60;br /&#62;
    pwm = false;&#60;br /&#62;
    break;&#60;br /&#62;
* In &#34;_spi.c&#34;, to initialize (based on spi_init and spi_reconfigure taken from spi.c):&#60;br /&#62;
void SpiDevice::_initSpi() {&#60;br /&#62;
    rcc_clk_enable(SPI1-&#38;gt;clk_id);&#60;br /&#62;
    rcc_reset_dev(SPI1-&#38;gt;clk_id);&#60;br /&#62;
    //Disable&#60;br /&#62;
    spi_irq_disable(SPI1, SPI_INTERRUPTS_ALL);&#60;br /&#62;
    spi_peripheral_disable(SPI1);&#60;br /&#62;
    //Mode hardware (to manually drive the NSS pin with the select/deselect functions)&#60;br /&#62;
    //SC16IS750 supports 4 Mbit/s maximum SPI clock speed means this can theoretically handle the SPI_BAUD_PCLK_DIV_32 (2.25 MHz) divider ...&#60;br /&#62;
    //speed = SPI_BAUD_PCLK_DIV_64 = 1.125 MHz&#60;br /&#62;
    //speed = SPI_BAUD_PCLK_DIV_32 = 2.25 MHz&#60;br /&#62;
    //speed = SPI_BAUD_PCLK_DIV_16 = 4.5 MHz&#60;br /&#62;
    SPI1-&#38;gt;regs-&#38;gt;CR1 =  SPI_CR1_SPE &#124; SPI_BAUD_PCLK_DIV_32 &#124; SPI_FRAME_MSB &#124; SPI_DFF_8_BIT &#124; SPI_CR1_MSTR &#124; SPI_MODE_0;&#60;br /&#62;
    SPI1-&#38;gt;regs-&#38;gt;CR2 = SPI_CR2_SSOE;&#60;br /&#62;
    //enable&#60;br /&#62;
    spi_peripheral_enable(SPI1);&#60;br /&#62;
    //clear registers by reading them&#60;br /&#62;
    int clr = 0;&#60;br /&#62;
    clr = SPI1-&#38;gt;regs-&#38;gt;SR;&#60;br /&#62;
    clr = SPI1-&#38;gt;regs-&#38;gt;DR;&#60;br /&#62;
    clr = SPI1-&#38;gt;regs-&#38;gt;CR1;&#60;br /&#62;
    clr = SPI1-&#38;gt;regs-&#38;gt;CR2;&#60;br /&#62;
    //flush&#60;br /&#62;
    select();&#60;br /&#62;
    while((SPI1-&#38;gt;regs-&#38;gt;SR &#38;amp; SPI_SR_BSY) == SPI_SR_BSY);&#60;br /&#62;
    deselect();&#60;br /&#62;
}&#60;br /&#62;
* In &#34;_spi.c&#34;, the transfer function became:&#60;br /&#62;
byte SpiDevice::transfer(volatile byte data) {&#60;br /&#62;
    // Start the transmission&#60;br /&#62;
    SPI1-&#38;gt;regs-&#38;gt;DR = data;&#60;br /&#62;
    // Wait for the end of the transmission&#60;br /&#62;
    while((SPI1-&#38;gt;regs-&#38;gt;SR &#38;amp; SPI_SR_TXE) != SPI_SR_TXE);&#60;br /&#62;
    // Wait for the end of the reception&#60;br /&#62;
    while((SPI1-&#38;gt;regs-&#38;gt;SR &#38;amp; SPI_SR_RXNE) != SPI_SR_RXNE);&#60;br /&#62;
    // Return the received byte&#60;br /&#62;
    return (SPI1-&#38;gt;regs-&#38;gt;DR);&#60;br /&#62;
}&#60;br /&#62;
* i also had to rename the &#34;ring_buffer&#34; variable in parsedstream because it conflict with a maple variable.&#60;br /&#62;
* if debugging is activated (i.e ERROR_LEVEL &#38;gt; 0 in debug.h), think about replacing &#34;serial.print&#34; by &#34;SerialUSB.print&#34;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Natalie on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-7189</link>
			<pubDate>Fri, 18 Nov 2011 09:31:12 +0000</pubDate>
			<dc:creator>Natalie</dc:creator>
			<guid isPermaLink="false">7189@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I have a Wifly Shield, based on RN131, connected to a Maple board.&#60;br /&#62;
I download the corresponding library from &#60;a href=&#34;https://github.com/sparkfun/WiFly-Shield&#34; rel=&#34;nofollow&#34;&#62;https://github.com/sparkfun/WiFly-Shield&#60;/a&#62;&#60;br /&#62;
But it fails compiling the WiFly library because there is no &#34;pins_arduino.h&#34; file.&#60;br /&#62;
What is the corresponding header file for the Maple?&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.com/docs/arduino-compatibility.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/arduino-compatibility.html&#60;/a&#62; says the Wifi Shield is compatible.&#60;br /&#62;
Does anyone managed to run a Maple with Wifly Shield?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-6087</link>
			<pubDate>Thu, 25 Aug 2011 16:56:57 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">6087@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;We've had success with the Roving Networks WiFly UART modules:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.rovingnetworks.com/wi-fi-modules.php&#34; rel=&#34;nofollow&#34;&#62;http://www.rovingnetworks.com/wi-fi-modules.php&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wavesonics on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-6086</link>
			<pubDate>Thu, 25 Aug 2011 16:25:58 +0000</pubDate>
			<dc:creator>Wavesonics</dc:creator>
			<guid isPermaLink="false">6086@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for the response.&#60;/p&#62;
&#60;p&#62;Ya kinda frustrating that AsyncLabs shut down. Support (even community based) has all but evaporated. Is there another WiFi solution that works with Maple?&#60;/p&#62;
&#60;p&#62;For the TouchShield, I'm not using it yet, haven't purchased it yet, but had done some research and settled on it as my display &#38;amp; input solution for this project. I did notice their custom IDE for uploading content to the display's internal memory, but haven't given it a shot yet. There's gotta be a way to upload to it without the IDE though I would guess. So my main concern would be with the library to communicate with it and hardware compatibility (3.3V vs 5V, ect.) and I thought maybe someone in the community here might have experience with it.&#60;/p&#62;
&#60;p&#62;I put an email in to the developer about Maple support, so maybe we'll get some info that way...&#60;/p&#62;
&#60;p&#62;Are there any other display solutions that you know of for the Maple?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-6085</link>
			<pubDate>Thu, 25 Aug 2011 16:12:10 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">6085@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The level of WiShield support is preliminary.  Several example sketches work, but things aren't 100%.  Given that AsyncLabs closed down, I'm not sure how much further we'll be developing things.  The port is here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://static.leaflabs.com/pub/leaflabs/labs/WiShield.zip&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/leaflabs/labs/WiShield.zip&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;About the TouchShield Slide: Are you using it via their customized Arduino IDE?  I tried to find the firmware for it in their Arduino fork's &#60;a href=&#34;https://github.com/liquidware/antipasto_arduino&#34;&#62;github page&#60;/a&#62;, but it seems to be scattered throughout the code base, instead of being a discrete library.  Do you have any pointers on this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wavesonics on "Display Shields"</title>
			<link>http://forums.leaflabs.com/topic.php?id=999#post-6084</link>
			<pubDate>Thu, 25 Aug 2011 15:45:58 +0000</pubDate>
			<dc:creator>Wavesonics</dc:creator>
			<guid isPermaLink="false">6084@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I'm looking at switching from my Arduino to a Maple, but my project requires two shields.&#60;/p&#62;
&#60;p&#62;1) Is the WiShield 2.0, which correct me if I'm wrong, but I believe has been ported and is working?&#60;/p&#62;
&#60;p&#62;2) Is the Touch Shield Slide. It's an OLED Touch screen shield for Ardunios:&#60;br /&#62;
&#60;a href=&#34;http://www.liquidware.com/shop/show/TSL/TouchShield+Slide&#34; rel=&#34;nofollow&#34;&#62;http://www.liquidware.com/shop/show/TSL/TouchShield+Slide&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Has anyone attempted to use this? Or is there possibly other display solutions for the Maple?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
