Close

Main.h

A project log for A first FPGA project - SPI

How to create a SPI bus on an FPGA, and send data back and forth between a microcontroller and a FPGA

sciencedude1990sciencedude1990 11/17/2020 at 16:120 Comments
#ifndef MAIN_H_
#define MAIN_H_

// Serial port stuff
#include <string.h>
#include <stdio.h>

// Printing a string to the serial port
void print_serial(const char * const print_string);

// Given an input array, process the command
void go_process_command();

#endif // MAIN_H_

Discussions