Skip to content

Instantly share code, notes, and snippets.

Data for record #1:
{"MEASUREMENTS": "", "DESCRIPTION": "Ansonia Sunwatch (pocket compass dial)", "PLACE_MADE": "New York county, New York state, United States", "id_NUMBER": "1974-100", "WHOLE_PART": "WHOLE", "TITLE": "Ansonia Sunwatch (pocket compas dial)", "DATE_MADE": "1922-1939", "COLLECTION": "SCM - Time Measurement", "ITEM_NAME": "Pocket horizontal sundial", "MATERIALS": "", "MAKER": "Ansonia Clock Co."}
Term List for record #1: Q1974-100 Sansonia Scompas Sdial Spocket Ssunwatch XDansonia XDcompass XDdial XDpocket XDsunwatch ZSansonia ZScompa ZSdial ZSpocket ZSsunwatch ZXDansonia ZXDcompass ZXDdial ZXDpocket ZXDsunwatch Zansonia Zcompa Zcompass Zdial Zpocket Zsunwatch ansonia compas compass dial pocket sunwatch
///Libraries///
#include <PID_v1.h>
#include <stdint.h>
// #include "TouchScreen.h"
//#include <SPI.h>
#include <Wire.h>
//#include <wiinunchuk.h>
#include <Servo.h>
#define MODE 0
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(57600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
@tejasvi
tejasvi / makelog
Last active March 10, 2019 13:45
make log after successful ../configure in xapian/build
h -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -Werror -fvisibility=hidden -fvisibility-inlines-hidden -g -O2 -MT api/postingsource.lo -MD -MP -MF api/.deps/postingsource.Tpo -c /home/tejasvi/xapian/xapian-core/api/postingsource.cc -fPIC -DPIC -o api/.libs/postingsource.o
depbase=`echo api/postlist.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/home/tejasvi/xapian/xapian-core -I/home/tejasvi/xapian/xapian-core/common -I/home/tejasvi/xapian/xapian-core/include -I'./include' -I/home/tejasvi/xapian/xapian-core/languages -Ilanguages -I/home/tejasvi/xapian/xapian-core/queryparser -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmiss