V148
Fork of RadioHead-148 by
RHGenericSPI.cpp
- Committer:
- ilkaykozak
- Date:
- 2017-10-25
- Revision:
- 1:b7641da2b203
- Parent:
- 0:ab4e012489ef
File content as of revision 1:b7641da2b203:
// RHGenericSPI.cpp // Author: Mike McCauley (mikem@airspayce.com) // Copyright (C) 2011 Mike McCauley // Contributed by Joanna Rutkowska // $Id: RHGenericSPI.cpp,v 1.2 2014/04/12 05:26:05 mikem Exp $ #include <RHGenericSPI.h> RHGenericSPI::RHGenericSPI(Frequency frequency, BitOrder bitOrder, DataMode dataMode) : _frequency(frequency), _bitOrder(bitOrder), _dataMode(dataMode) { } void RHGenericSPI::setBitOrder(BitOrder bitOrder) { _bitOrder = bitOrder; } void RHGenericSPI::setDataMode(DataMode dataMode) { _dataMode = dataMode; } void RHGenericSPI::setFrequency(Frequency frequency) { _frequency = frequency; }