Shop OBEX P1 Docs P2 Docs Learn Events
SPI object for Propgcc — Parallax Forums

SPI object for Propgcc

Martin_HMartin_H Posts: 4,051
edited 2013-06-02 18:05 in Propeller 1
I'm porting a some Arduino code to Propgcc. I've made good progress with the addition of a header to define a few types and functions. But now I'm at some calls to the SPI object. I could either port it, use Spin2cpp on something from the obex, or reuse something off the shelf. Any suggestions?

Comments

  • Martin_HMartin_H Posts: 4,051
    edited 2013-06-02 18:05
    I ran the Obex SPI object through spin2cpp and the results were good. So I'm going with that. So far porting seems almost as much work as rewriting in Spin. But that's because there's a bunch of the Arduino library functions to deal with.
Sign In or Register to comment.