Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Lab_6_WaG by
display.h
00001 /****************************************************************************** 00002 * EECS 397 00003 * 00004 * Assignment Name: Lab 6: WaG 00005 * 00006 * Authors: Sam Morrison and Phong Nguyen 00007 * File name: display.h 00008 * Purpose: Contain function prototypes and consant variable 00009 * 00010 * Created: 03/01/2018 00011 * Last Modified: 03/29/2018 00012 * 00013 ******************************************************************************/ 00014 #ifndef DISPLAY_H 00015 #define DISPLAY_H 00016 00017 #include "mbed.h" 00018 #include "io_pins.h" 00019 00020 extern SPI spi; 00021 extern int bcd[4]; 00022 extern Serial pc; 00023 extern DigitalOut SS; 00024 00025 void initial_setup(struct spi_cfg spi_obj); 00026 void bin2bcd_array(int num, char bcd[]); 00027 void send_command_to_display(char bcd[]); 00028 void test_target_leds(); 00029 00030 #endif /*DISPLAY_H */
Generated on Mon Jul 18 2022 00:36:30 by
