Skip to content
Discussion options

You must be logged in to vote

Hi @nickthiru,

The comment you surfaced from the Pins documentation is only relevant to our older API for working with hardware pins. Most of the new work going into Moddable SDK projects and examples is instead based on the newer ECMA-419 standard and the Moddable SDK implementation of that standard.

SPI works well with the ECMA-419 I/O modules, as you've seen from the code you've discovered. There are also examples available here.

The Documentation for ECMA-419 SPI is just the spec itself. This is the relevant section.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nickthiru
Comment options

@nickthiru
Comment options

@phoddie
Comment options

@nickthiru
Comment options

Answer selected by nickthiru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants