Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos EthernetInterface FatFileSystemCpp MCP23S17 SDFileSystem mbed
Fork of HTTPServerHelloWorld by
ActuatorsController.cpp
00001 #include "ActuatorsController.h" 00002 00003 ActuatorsController::ActuatorsController(SPI* spiHandler){ 00004 char ioPortAddress = 0x40; 00005 ioPort = new MCP23S17(spiHandler, p20, ioPortAddress); 00006 00007 // all 16 bits as output 00008 ioPort->direction(PORT_A, 0x00); 00009 ioPort->direction(PORT_B, 0x00); 00010 }
Generated on Thu Jul 28 2022 23:53:25 by
1.7.2
