Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 11 months ago.
SPI programs
Hello. I am looking at the SPI example :
- include "mbed.h"
SPI device(SPI_MOSI, SPI_MISO, SPI_SCK);
int main() { int i = 0; while(1) { device.write(0x55); device.write(i++); device.write(0xE0); wait_us(50); } }
and it is a little bit TOO simple. Where can I set up the SPI mode? speed? etc... Can someone tell me where can I find documentation for this (SPI) and others (PWM, GPIO, etc) functions
Thanks