Giter VIP home page Giter VIP logo

Comments (5)

kashimAstro avatar kashimAstro commented on July 16, 2024

Hello, thanks for the report.

right now i'm traveling for work i do not have the tools with me for checks.
I will update you as soon as I go back to Italy at the beginning of January!

you can give me these info:
uname -a
(in case you're using openframeworks)
openframeworks version

from ofxgpio.

chilina avatar chilina commented on July 16, 2024

Hi Dario,
Thanks for such a quick response and I'm not in a rush to move to Stretch. I'll try to do some work on this too over the next few weeks.
uname -a:
Linux statler 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
I am using the "master branch" of oF, which I cloned from https://github.com/openFrameworks/openFrameworks.git with modifications according to Christopher Baker's post https://forum.openframeworks.cc/t/compiling-of-in-raspbian-stretch/27562/15. I have oF folders for Method 1 and Method 2 from the post.

from ofxgpio.

kashimAstro avatar kashimAstro commented on July 16, 2024

Hi @chilina,

the BUG apa102 is theoretically resolved.
tested on debian stretch.

if you can test on jessie it would be nice.

cheers

from ofxgpio.

chilina avatar chilina commented on July 16, 2024

Wow Dario thanks! I'll test it on Jessie soon and post the results here. What did you do to resolve it with Stretch?
edit: oops forgot that Github makes it so easy to see all the changes. I'll have a look at what you changed and see if I can figure it out so that I can fix my own application.
edit: the apa102 example works great with Jessie and the master branch of oF!
edit: it also works great with Jessie and the 0.9.8 distribution of oF.
edit: and I can confirm that it compiles and works with Stretch and the master branch.
I'll close this issue and we can re-open it later if we need to. Thanks again Dario!

from ofxgpio.

kashimAstro avatar kashimAstro commented on July 16, 2024

to solve the problem apa102 just add a memset in the
readWrite method of spi2.h, view here:
https://github.com/kashimAstro/ofxGPIO/blob/master/src/spi2.h#L32

however, in these last days I have made some changes and additions to ofxGPIO,
with changes also on LED class that manages apa102
i advise you to rediscover the master and take a look at it.

has been added (if you work without openframeworks):
Gtk+ UI a simple bridge for gtk ui interface
TCP Unix socket for communication between application or more raspberry

and added:
simplified syntax for class GPIO and MCP
check readme and documentation.

and read these examples:

example-mcp-simple-syntax
example-simple-syntax-gpio

(TCP server, control pin: GPIO17)

example-server-led

(TCP client, ON/OFF button example for control: example-server-led )

example-gtk2-client

(Gtk+ UI sample)

example-gtk2-led
example-gtk2-ui

(this example work only openframeworsk,
used to control I/O of the whole GPIO through a graphical interface.)

example-gpio-pindescription

from ofxgpio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.