# winniepough

https://plus.google.com/105163456747091021116
3CommentsJoined July 31st, 2015

Tell us about yourself!

• 1 year ago
• 1 year ago

Hex code for digitsconst uint8_t digitToSegment[] = XGFEDCBA 0b00111111, // 0 // A 0b00000110, // 1 // --- 0b01011011, // 2 // F | | B 0b01001111, // 3 // -G- 0b01100110, // 4 // E | | C 0b01101101, // 5 // --- 0b01111101, // 6 // D 0b00000111, // 7 0b01111111, // 8 0b01101111, // 9 0b01110111, // A 0b01111100, // b 0b00111001, // C 0b01011110, // d 0b01111001, // E 0b01110001, // F end Hex 0bo1110000, // c begin other char 0b01110110, // H 0b01110100, // h 0b00110000, // I left two segments 0b00010000, // i more sense to use lower case to avoid confusion with lower case L 0b00111000, // L 0b00000110, // l right two segmants, same as a one 0b01010100, // n 0b0011111...

see more »

Hex code for digitsconst uint8_t digitToSegment[] = XGFEDCBA 0b00111111, // 0 // A 0b00000110, // 1 // --- 0b01011011, // 2 // F | | B 0b01001111, // 3 // -G- 0b01100110, // 4 // E | | C 0b01101101, // 5 // --- 0b01111101, // 6 // D 0b00000111, // 7 0b01111111, // 8 0b01101111, // 9 0b01110111, // A 0b01111100, // b 0b00111001, // C 0b01011110, // d 0b01111001, // E 0b01110001, // F end Hex 0bo1110000, // c begin other char 0b01110110, // H 0b01110100, // h 0b00110000, // I left two segments 0b00010000, // i more sense to use lower case to avoid confusion with lower case L 0b00111000, // L 0b00000110, // l right two segmants, same as a one 0b01010100, // n 0b00111111, // O same as a zero 0b01011100, // o 0b01110011, // P 0b01001000, // r 0b01101101, // S same as a five 0b00111111, // U 0b00011101, // u 0b00000000, // blank 0b01001000, // = equals 0b01000000, // - dash / minus 0b00001000, // _ underscore 0b00111001, // [ left bracket 0b00001111, // ] right bracket };static const char CharToInt8_t[37] = ('0','1','2','3','4','5','6','7','8','9','A','B','C','d','E','F', 'c','H','h','I','i','L','l','n','O','o','P','r','S','U','u',' ','=','-','_','[',']');

• winniepough completed the lesson Welcome to Arduino in the class Arduino Class2 years ago
• I need to use 6 to 8 BMP280's Using I2C and common wiring to 5V, GND, SCK & SDI. There is no chip selection in any of the tutorials that I could find that shows how to enable/disable communications in I2C mode. Looking at the BMP280's documentation, there is a "Vdd io" that must have 5V applied to enable communication. But nowhere in the tutorials is CS or CSO connected in I2C mode. Looking the SPI documentation there is an inference that the CS can be set. Is it active in I2C? Can I, set CS to 5V to enable one BMP280 at a time in I2C ? Or does Adafruit's BMP280 use SC to disable?