2016-05-13 14:20:25 +01:00
|
|
|
/*
|
|
|
|
|
* Author: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
|
|
|
* Copyright (c) 2016 Intel Corporation.
|
|
|
|
|
*
|
2019-05-09 09:47:11 -07:00
|
|
|
* SPDX-License-Identifier: MIT
|
2016-05-13 14:20:25 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "mraa_internal.h"
|
|
|
|
|
|
|
|
|
|
// +1 as pins are "1 indexed"
|
2016-06-29 09:57:19 +01:00
|
|
|
// we have 20 useless pins then the 4 LEDS and the 2 LEDs on the module.
|
2017-08-27 19:10:04 +02:00
|
|
|
// There is another pin for the built-in button.
|
|
|
|
|
#define MRAA_INTEL_JOULE_EXPANSION_PINCOUNT (40 * 2 + 23 + 1 + 2 + 1)
|
2016-05-13 14:20:25 +01:00
|
|
|
|
|
|
|
|
mraa_board_t*
|
2017-02-24 16:37:45 -05:00
|
|
|
mraa_joule_expansion_board();
|
2016-05-13 14:20:25 +01:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|