This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
//-----------------------------------------------------------АДРЕСА РЕГИСТРОВ---------------------------------------------------------------------------------------------------------------- | |
#define WAVEFORM 0x01 | |
#define AENERGY 0x02 | |
#define RSTENERGY 0x03 | |
#define STATUS 0x04 | |
#define RSTSTATUS 0x05 | |
#define MODE 0x06 | |
#define CFDIV 0x07 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
//-----------------------------------------------------------АДРЕСА РЕГИСТРОВ---------------------------------------------------------------------------------------------------------------- | |
#define WAVEFORM 0x01 | |
#define AENERGY 0x02 | |
#define RSTENERGY 0x03 | |
#define STATUS 0x04 | |
#define RSTSTATUS 0x05 | |
#define MODE 0x06 | |
#define CFDIV 0x07 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2010 by Cristian Maglie <c.maglie@arduino.cc> | |
* Copyright (c) 2014 by Paul Stoffregen <paul@pjrc.com> (Transaction API) | |
* Copyright (c) 2014 by Matthijs Kooijman <matthijs@stdin.nl> (SPISettings AVR) | |
* Copyright (c) 2014 by Andrew J. Kroll <xxxajk@gmail.com> (atomicity fixes) | |
* SPI Master library for arduino. | |
* | |
* This file is free software; you can redistribute it and/or modify | |
* it under the terms of either the GNU General Public License version 2 | |
* or the GNU Lesser General Public License version 2.1, both as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef SFR_H | |
#define SFR_H | |
//---АДРЕСА РЕГИСТРОВ--- | |
#define WAVEFORM 0x01 | |
#define AENERGY 0x02 | |
#define RSTENERGY 0x03 | |
#define STATUS 0x04 | |
#define RSTSTATUS 0x05 | |
#define MODE 0x06 |