Skip to content

SPI setup bugs #1

Description

@jrosenstein

This was a helpful starting point, but it only works after fixing a couple of important SPI setup problems.

  1. Instead of wiringPiSPISetup, it needs to use wiringPiSPISetupMode, with SPI_MODE=1
  2. It suffers from this WiringPi-Python bug, and needs the same workaround of creating a new string inside the call to wiringPiSPIDataRW: https://github.com/WiringPi/WiringPi-Python/issues/25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions