Skip to content

Instantly share code, notes, and snippets.

View BST-Github-Admin's full-sized avatar

Bosch Sensortec BST-Github-Admin

View GitHub Profile
@BST-Github-Admin
BST-Github-Admin / ArduinoExample.cpp
Created February 21, 2018 08:26
Connecting the API to the Arduino environment
/**
* @brief Task that delays for a ms period of time
* @param period : Period of time in ms
*/
void delay_ms(uint32_t period)
{
// Wait for a period amount of ms
// The system may simply idle, sleep or even perform background tasks
delay(period);
}
@BST-Github-Admin
BST-Github-Admin / bme280_asf_example.c
Created June 20, 2018 07:53
Example using BME280 in normal mode over I2C using the SAM21 Xplained Pro
/**
* \file
*
* \brief BME280 ASF example for the SAMD21 xplained pro
*
*/
#include <asf.h>
#include <string.h>
#include <stdio.h>
@BST-Github-Admin
BST-Github-Admin / BMI270_Arduino_example.ino
Last active May 13, 2021 03:30
Stream Accelerometer and Gyroscope date to the Arduino Serial terminal
#include "Arduino.h"
#include "SPI.h"
#include "Wire.h"
#include "bmi270.h"
#define BMI270_CS SS
#define BMI270_INT1 6
/* Callback function prototypes for the BMI270 Sensor API */
@BST-Github-Admin
BST-Github-Admin / eagle.app.v6.common.ld.h
Created May 28, 2020 15:02
Linker description for BSEC
/* This linker script generated from xt-genldscripts.tpp for LSP . */
/* Linker Script for ld -N */
PHDRS
{
dport0_0_phdr PT_LOAD;
dram0_0_phdr PT_LOAD;
dram0_0_bss_phdr PT_LOAD;
iram1_0_phdr PT_LOAD;
irom0_0_phdr PT_LOAD;
@BST-Github-Admin
BST-Github-Admin / platform.txt
Created May 28, 2020 15:03
ESP8266 platform file with pre compiled library support
# ESP8266 platform
# ------------------------------
# For more info:
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification
name=ESP8266 Boards (2.7.1)
version=2.7.1