From e3d457d72f59bd442a3a8d13b311d7c8444e177d Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Fri, 4 Oct 2024 17:30:14 -0400 Subject: labs 1,2 --- .../labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h (limited to 'F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h') diff --git a/F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h b/F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h new file mode 100755 index 0000000..d933c4c --- /dev/null +++ b/F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h @@ -0,0 +1,27 @@ +/*---------------------------------------------------------------------------- + * Name: LED.h + * Purpose: low level LED definitions + * Note(s): + *---------------------------------------------------------------------------- + * This file is part of the uVision/ARM development tools. + * This software may only be used under the terms of a valid, current, + * end user licence from KEIL for a compatible version of KEIL software + * development tools. Nothing else gives you the right to use this software. + * + * This software is supplied "AS IS" without warranties of any kind. + * + * Copyright (c) 2009-2011 Keil - An ARM Company. All rights reserved. + *----------------------------------------------------------------------------*/ + +#ifndef __LED_H +#define __LED_H + +/* LED Definitions */ +#define LED_NUM 8 /* Number of user LEDs */ + +extern void LED_Init(void); +extern void LED_On (unsigned int num); +extern void LED_Off (unsigned int num); +extern void LED_Out (unsigned int value); + +#endif -- cgit 1.4.1