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.
CommunicationNeuronale.cpp
00001 /* 00002 * CommunicationNeuronale.cpp 00003 * 00004 * Created on: Mar 10, 2015 00005 * Author: salco 00006 */ 00007 #include "CommunicationNeuronale.h" 00008 ComModulesSPI::ComModulesSPI(PinName mosi, PinName miso, PinName sclk, PinName _unused) : SPI(mosi,miso,sclk,_unused) 00009 { 00010 // m_com = new SPI(mosi,miso,sclk,_unused); 00011 m_regPortUse=0; 00012 m_regPortLost=0; 00013 m_demuxPos=0; 00014 } 00015 ComModulesSPI::~ComModulesSPI() 00016 { 00017 //if(m_com) 00018 // delete(m_com); 00019 } 00020 int ComModulesSPI::write(int value) 00021 { 00022 int a; 00023 a= SPI::write(value); 00024 return a; 00025 }
Generated on Tue Jul 12 2022 19:04:21 by
1.7.2