C# Class napkin.devices.spi.DeadOnRTC.DeadOnRTCDriver

Mostrar archivo Open project: cjdaly/napkin Class Usage Examples

Public Methods

Method Description
DeadOnRTCDriver ( Cpu ssPin, SPI spiModule = SPI.SPI_module.SPI1 ) : System
ReadData ( ) : DeadOnRTCData
SetDate ( byte date, byte month, byte year ) : void
SetTime ( byte seconds, byte minutes, byte hour ) : void

Method Details

DeadOnRTCDriver() public method

public DeadOnRTCDriver ( Cpu ssPin, SPI spiModule = SPI.SPI_module.SPI1 ) : System
ssPin Microsoft.SPOT.Hardware.Cpu
spiModule Microsoft.SPOT.Hardware.SPI
return System

ReadData() public method

public ReadData ( ) : DeadOnRTCData
return DeadOnRTCData

SetDate() public method

public SetDate ( byte date, byte month, byte year ) : void
date byte
month byte
year byte
return void

SetTime() public method

public SetTime ( byte seconds, byte minutes, byte hour ) : void
seconds byte
minutes byte
hour byte
return void