Skip to content

SPI methods are inconsistent with Arduino AVR SPI #2677

Closed
@Makuna

Description

@Makuna

Basic Infos

APIs across platforms should try to be consistent so that library writers don't have to pepper their code with ifdefs and custom calls for standard uses.
The Esp8266 SPI has method names for functions that are inconsistent with AVR SPI but are functionally the same.

on AVR
void transfer(void *buf, size_t count)
is the same as on Esp8266
void writeBytes(uint8_t * data, uint32_t size);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions