 	display.println(display_struct.displaybuffer[3]);
 }
 
-
-//void long_button_press_cb(void *arg) {
-//	// TODO
-//}
-//
-//void long_button_press_timer() {
-//	os_timer_disarm(&timer_long_button_press);
-//	os_timer_setfn(&timer_long_button_press, (os_timer_func_t *)long_button_press_cb, (void *)0);
-//	os_timer_arm(&timer_long_button_press, DELAY_MS_TWOSEC, true);
-//}
-
-
 void setup() {
 #if !defined(ESP8266)
 	while (!Serial) delay(1);

	//Serial.print(sensors.pressure); Serial.print("\t");
	//Serial.print(sensors.altitude); Serial.print("\t");

	if (rotenc.changed_rotEnc || button.changed) {
		
		Serial.print("Rot.enc:\t");
		Serial.print(rotenc.actualRotaryTicks);
		Serial.print(" Button: changed ");
		Serial.print(button.changed);
		Serial.print(", long ");
		Serial.print(button.long_diff_change);
		Serial.print(", int_signal ");
		Serial.print(button.int_signal);
		Serial.print(",  button signal ");
		Serial.print(digitalRead(ENCODER_SW));
		Serial.println("");

		rotenc.changed_rotEnc = false;
		button.changed = false;
		button.long_diff_change = false;
	}
}
#include "Adafruit_SSD1306.h"

#define	SERIAL_STATUS_OUTPUT
#define MEASURE_PREFORMANCE

// #define BUTTON_A		0		// huzzah oled 
#define BUTTON_B		16		// huzzah oled 
