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.
Diff: SparkFun_MiniGen.cpp
- Revision:
- 1:f7f4f5acb9a2
- Parent:
- 0:3782bc13e4f5
--- a/SparkFun_MiniGen.cpp Fri Dec 07 20:38:44 2018 +0000
+++ b/SparkFun_MiniGen.cpp Wed Dec 12 02:35:13 2018 +0000
@@ -19,8 +19,7 @@
// Overloaded constructor, for cases where the chip select pin is not
// connected to the regular pin. Still assumes standard SPI connections.
-MiniGen::MiniGen(PinName mosi, PinName miso, PinName sclk, PinName cs,
- PinName RX, PinName TX) : _spi(mosi, miso, sclk), _cs(cs), _pc(RX, TX)
+MiniGen::MiniGen(PinName mosi, PinName miso, PinName sclk, PinName cs) : _spi(mosi, miso, sclk), _cs(cs)
{
configReg=0;
configSPIPeripheral();