In this assignment i learned a lot about programming. This was absolutly new for me, that's why I did it in windows. I choose to use the board that i uses in Electronic Design. The first thing before programming is to weld the superficial components and be sure to do all so perfect as you can.
The output will be readings on the Liquid Crystal Display(LCD)Screen a
The library used to connect my OLED with the microcontroller is HERE
CODE USED// For ATtiny44 Turn on LED and Analog Read #define F_CPU 8000000UL #include "ssd1306xled.h" #include "ssd1306xled8x16.h" #includefloat h=0; float t=0; char buffH[6]; char buffT[6]; int SENSOR= A1; int ADCcount = 0; void setup() { delayMicroseconds(40); SSD1306.ssd1306_init(); } void texto(char* s) {SSD1306.ssd1306_string_font6x8(s);} void textoG(int pos_x, int pos_y, char* sG) {SSD1306.ssd1306_char_f8x16(pos_x, pos_y, sG);} void pos(uint8_t x, uint8_t y){SSD1306.ssd1306_setpos(x, y);} void loop() { h=23; t=23; dtostrf(h, 4, 2, buffH); dtostrf(t, 4, 2, buffT); pos(0, 3); texto("FabAcademy 2017"); pos(1, 4); texto("Denis RUKUNDO");