STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
main.cpp File Reference
#include "main.h"
#include <Arduino.h>
#include <SPI.h>
#include <STAR_MCP3201.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

static SPIClass mcp_spi (FSPI)
static STAR_MCP3201 adc (MCP3201_CS_PIN, &mcp_spi)
void setup ()
void loop ()

Function Documentation

◆ adc()

◆ loop()

void loop ( )

Definition at line 24 of file main.cpp.

References adc(), ADC_COUNTS, delay(), Serial, and VREF.

◆ mcp_spi()

SPIClass mcp_spi ( FSPI )
static

Referenced by adc(), and setup().

◆ setup()

void setup ( void )