This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <TFT_eSPI.h> | |
#include <Adafruit_NeoPixel.h> | |
#include <DHT.h> | |
#include <Wire.h> | |
#include "I2CKeyPad.h" | |
#include "RTClib.h" | |
// Define constants | |
#define DHTPIN 16 // DHT11 pin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.display import SVG | |
from rdkit import Chem | |
from rdkit.Chem import rdDepictor | |
from rdkit.Chem.Draw import rdMolDraw2D | |
from rdkit.Chem.Draw.MolDrawing import DrawingOptions | |
mol = Chem.MolFromSmiles("CC1(C(N2C(S1)C(C2=O)NC(=O)CC3=CC=CC=C3)C(=O)O)C") # Penicillin | |
rdDepictor.Compute2DCoords(mol) # for generating conformer ID | |
# create a drawer container | |
drawer = rdMolDraw2D.MolDraw2DSVG(300, 300) |