Instantly share code, notes, and snippets.

View export github issues to json
import requests
import json
username = ''
password = ''
projectname = ''
url = '' % (username, projectname)
# To access gmail emails you must setup two factor authentication and then
# create an application specific password to the email bypassing the
# two factor authentication.
import imaplib
import email
View i2c
#include "mbed.h"
I2CSlave slave(PA_9,PA_10); //configuring pins p27, p28 as I2Cslave
Serial pc (USBTX,USBRX);
void split(float); //function to split 4 bcurrentte data
void write_to_master(char); //function to write data to master
DigitalOut myled(LED1);
View gist:d8ac006759e122feb1c9fd212d979ec6