From owner-freebsd-arch@FreeBSD.ORG Sun Apr 12 06:45:56 2015 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93617CA6; Sun, 12 Apr 2015 06:45:56 +0000 (UTC) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 58FA5301; Sun, 12 Apr 2015 06:45:56 +0000 (UTC) Received: by iebrs15 with SMTP id rs15so44535776ieb.3; Sat, 11 Apr 2015 23:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=JRwVvgNvF81fcWRFUigX6ipMIrGM9KaAimL43dHSlpg=; b=AvUodDABkM38n4rmWqR1qLmBTgz2SEwxwzVOjFrAoeOUR+E+LpgziIA8BB8v4wyHJv 8S48OlykCcqOKu78t3ZA9V04ojB5HYlmPBn93GpGzDVJ7bixmph98hskRLCHfc/gAoyL yKVV8VyX3Ek+z3AQkxJgSyjmMM1a1NEk2aRX03a0avERDFyz1zedSIPy2qSBxa67X+PM cPPpus9khrRp+6n1j5s2v2c+RziB3oe7KkwjQrPpelg54TxKyI/9N5PkhlAJbV8VQ7Um Cd6Wwq2Ps/gnAy2mpthBLUou/yw7Kiv0IXX09Z3CmyLiRw/V3y9I3c3bqwTfQyZeExsj 2xSw== MIME-Version: 1.0 X-Received: by 10.107.136.25 with SMTP id k25mr12868628iod.88.1428821155725; Sat, 11 Apr 2015 23:45:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.17.194 with HTTP; Sat, 11 Apr 2015 23:45:55 -0700 (PDT) In-Reply-To: References: Date: Sat, 11 Apr 2015 23:45:55 -0700 X-Google-Sender-Auth: ekqys6EhShTJJGi-tru3huDPINE Message-ID: Subject: Re: using libgpio to bitbang LCDs! From: Adrian Chadd To: "freebsd-embedded@freebsd.org" , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2015 06:45:56 -0000 Hi, The library source code and a demo program is available here: https://github.com/erikarn/freebsd-liblcd It includes the wiring needed to hook the example OLED board up (http://www.adafruit.com/products/684) to a Carambola 2 evaluation board. Anything you can get 5v and 5 GPIO pins from will work. (Well, as long as there's also libgpio / gpio API support for your device..) -adrian