-
Datei
top_LCD.vhd
Engineer: Lothar Miller -- -- Create Date: 12:52:24 01/30/2010 -- Design Name: -- Module Name: top_LCD - Behavioral ---------------------------------------------------------- library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.NUMERIC_STD.ALL; entity top_LCD is Port ( -- Signale an LCD lcd_rw : out STD_LOGIC
-
Datei
_LiquidCrystal_PCF8574_Test.ino
// This example shows various featues of the library for LCD with 16 chars and 2 lines. #include <Arduino.h> #include <Wire1.h> #include <LiquidCrystal_PCF8574.h> LiquidCrystal_PCF8574 lcd(0x27); // set the LCD address to 0x27 for a 16 chars and 2 line
in „TWI1 auf Atmega328PB schlägt fehl“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
prog.txt
library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; entity LCD16x2TEST is Port ( clk_50M : in STD_LOGIC; LCD_DB : out STD_LOGIC_VECTOR (7 downto 0); LCD_E
-
Datei
lcd.h
like Arduino Uno or ATMega168PA/88PA/48PA * */ #ifndef LCD_H #define LCD_H #ifndef YES #define YES 1 #define NO 0 #else #error "Check #defines for YES and NO in other sources !" #endif #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires
in „SSD1306 - Adressierung einzelner Pixel im Buffer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
like Arduino Uno or ATMega168PA/88PA/48PA * */ #ifndef LCD_H #define LCD_H #ifndef YES #define YES 1 #define NO 0 #else #error "Check #defines for YES and NO in other sources !" #endif #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires
in „SSD1306/1309 Library zum Darstellen von Text auf OLED Displays“ · Projekte & Code ·
-
Datei
main.vhd
library IEEE; use IEEE.STD_LOGIC_1164.ALL; --use IEEE.STD_LOGIC_ARITH.ALL; --use IEEE.STD_LOGIC_UNSIGNED.ALL; -- Uncomment the following library declaration if using -- arithmetic functions with Signed or
in „Quartus BlockRAM bringt FPGA zum "Absturz"“ · FPGA, VHDL & Co. ·
-
Datei
LCD4884.h
Editor : Lauren from DFRobot Date : 06.01.2012 =¡£= * Have the back light under control. * Update the library and sketch to compatible with IDE V1.0 and earlier */ #ifndef LCD4884_h #define LCD4884_h #if defined(ARDUINO) && ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #endif // SPI Interface
in „Probleme mit dem LCD 4884 Shield“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_tb.vhd
library ieee; use ieee.std_logic_1164.all; entity lcd_tb is end entity lcd_tb; architecture testbench of lcd_tb is constant clk_period : time := (1 sec) / 50_000_000; signal tb_CLK : std_logic := '0'; signal
-
Datei
_433-mhz-empfang.ino
include <VirtualWire_Config.h> #include <LiquidCrystal_I2C.h> // 433 MHz Empfänger mit der VirtualWire Library V 1.27 // Verbindungen zum Uno // GND > D4 // Data > D5 // Input > D6 // VCC > D7 LiquidCrystal_I2C lcd(0x27, 16, 2); int inByte; char inText[300]; int index; int i; uint8_t buf[VW_MAX_MESSAGE_LEN
in „Kommunikation AVR <> PC über RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LiquidCrystal_I2C.h
LiquidCrystal_I2C_h #include <inttypes.h> #include "Print.h" #include <Wire.h> // commands #define LCD_CLEARDISPLAY 0x01 #define LCD_RETURNHOME 0x02 #define LCD_ENTRYMODESET 0x04 #define LCD_DISPLAYCONTROL 0x08 #define LCD_CURSORSHIFT 0x10 #define LCD_FUNCTIONSET 0x20 #define LCD_SETCGRAMADDR 0x40 #define
in „LCD STN 320x240 große Schrift 16x24 / 20x10 ATmega8 Assembler TWI USART inkl. Fontgenerator VBA“ · Projekte & Code ·
-
Datei
LiquidCrystal_I2C.h
LiquidCrystal_I2C_h #include <inttypes.h> #include "Print.h" #include <Wire.h> // commands #define LCD_CLEARDISPLAY 0x01 #define LCD_RETURNHOME 0x02 #define LCD_ENTRYMODESET 0x04 #define LCD_DISPLAYCONTROL 0x08 #define LCD_CURSORSHIFT 0x10 #define LCD_FUNCTIONSET 0x20 #define LCD_SETCGRAMADDR 0x40 #define
in „Experimente mit Arduino und Ultraschall“ · Projekte & Code ·
-
Datei
vergleich.txt
Stack size : 32 *********************************************/ #include <tiny26.h> // Alphanumeric LCD Module functions #asm .equ __lcd_port=0x1B #endasm #include <lcd.h> #include <stdio.h> void main(void) { // LCD module initialization lcd_init(20); lcd_clear(); while (1) { char k=8; char lcd_text[1]; sprintf(lcd_text, "%u", k); lcd_gotoxy(7,1); lcd_puts(lcd_text); }; } =============================================== Program memory usage: Code : 667 words Constants (dw/db): 17 words Unused : 0 words Total :
in „Vergleich BASOM-CODEVISION“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_alps.c
(1<<LOAD ); if ( LCD_DF == 0 ) { LCD_DF = 1; LCD_PORT |= ( 1<<DF ); } else { LCD_DF = 0; LCD_PORT &= ~( 1<<DF ); } LCD_PORT |= (1<<DI_Y ); } for( i = 0 ; i < ( X_res / X_pix_per_Byte ) ; i++ ) { Data = LCD_BUFFER[ Line
in „LCD Grafikdisplay“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
atmel_fragen_hochschule.pdf
time being a set consist of: STK500 – Universal development kit AVR Butterfly – Evaluation tool with LCD JTAGICE - On-Chip Debugger Atmel AVR Studio – Development Platform AVR Technical Library CD ATmega device in PDIP The stk500 is a universal board that is ideal for laboratories. The AVR Butterfly is
in „Atmelprodukte für Studenten bis zu 50% billiger“ · Markt ·
-
Datei
lcd_ssd1306_gfx.h
needs a * minimum of 1029 byte SRAM! **************************************************** * */ #ifndef LCD_H #define LCD_H #ifndef YES #define YES 1 #define NO 0 #else #error "Check #defines for YES and NO in other sources !" #endif #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires
in „SSD1306/1309 Library zum Darstellen von Text auf OLED Displays“ · Projekte & Code ·
-
Datei
Neigungssensor_2014_05_12.c
Konstantendefinitionen #include <avr/interrupt.h> // Weitere Interruptdefinitionen #include <stdio.h> // Standard C Library #include "lcd.h" //LCD Libary #include <util/delay.h> // _delay_ms/us (); #include <stdlib.h> // Für Zahl-Umwandlung itoa #include <string.h> //#include "general.h" //-----------------------------
in „Festkommaarithmetik und itoa Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Neigungssensor_2014_05_12.c
Konstantendefinitionen #include <avr/interrupt.h> // Weitere Interruptdefinitionen #include <stdio.h> // Standard C Library #include "lcd.h" //LCD Libary #include <util/delay.h> // _delay_ms/us (); #include <stdlib.h> // Für Zahl-Umwandlung itoa #include <string.h> //#include "general.h" //-----------------------------
in „Festkommaarithmetik und itoa Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_control_tb.vhd
library ieee; use ieee.std_logic_1164.all; entity lcd_control_tb is end entity lcd_control_tb; architecture testbench of lcd_control_tb is constant clk_period : time := (1 sec / 50_000_000); signal tb_trigger_n
in „Beschreibung eines Srams Fehler in VHDL-Code?“ · FPGA, VHDL & Co. ·
-
Datei
7Temperaturen_DS18B20_ohne_Seriel.ino
Setup wird das LCD1 gestartet - Durchfluß lcd1.backlight(); //Hintergrundbeleuchtung von LCD1 einschalten (0 schaltet die Beleuchtung aus). lcd2.init(); //Im Setup wird das LCD2 gestartet - Temperaturen lcd2.backlight
in „Arduino Programmierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Atmega644_DOGM128_094.c
/* // Library für EA-DOGM Grafikdisplays inkl. Font-Generator // Version 0.94 Autor: Jan M. // http://www.mikrocontroller.net/topic/144500#new // ATMEGA644 --> DOGS102 DOGM128/132 DOGXL160 // #define LCD_A0/CD
in „Library für EA-DOGM Grafikdisplays inkl. Font-Generator“ · Projekte & Code ·
-
PDF
USBizi_User_Manual.pdf
interfaces to control external devices to add those features: ✔ Graphics Support: using an LCD with SPI-based graphics accelerator, such as SSD1339 LCD controller. http://www.sparkfun.com/commerce/product_info.php?products_id=763 ✔ Ethernet and TCP/IP Support: Using a Hardwired TCP/IP Embedded
in „Arm7 (Usbizi) über SPI LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Sketch.txt
ATMega328p I2C-Display mit Backpack-Modul Saintsmart, Funduino u.a. 20x4 Display NewLiquidCrystal_I2C Library verwendet, Orig. LiquidCrystal_I2C und LiquidCrystal in anderen Ordner verschieben oder löschen! (Vorher sichern.) */ #include <Wire.h> #include <LiquidCrystal_I2C.h> // (uint8_t lcd_Addr, uint8_t
in „Stromflussabbruch mit Arduino Nano steuern?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
7Temperaturen_DS18B20_ohne_Seriel.ino
,INPUT); pinMode(ledPin, OUTPUT); lcd1.init(); //Im Setup wird das LCD1 gestartet - Durchfluß lcd1.backlight(); //Hintergrundbeleuchtung von LCD1 einschalten (0 schaltet die Beleuchtung aus). lcd2.init(); //Im Setup wird das LCD2 gestartet
in „Arduino Programmierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Code.txt
#include <avr/io.h> #include <avr/LiquidCrystal.h> // initialize the library with the numbers of the interface pins int RS=8, EN=9, D4=10, D5=11, D6=12, D7=13; LiquidCrystal lcd(RS, EN, D4, D5, D6, D7); void main() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.clear(); lcd.print("hello, world!"); while(1){ // set the cursor to column 0, line 1 // (note: line 1 is the second row, since counting begins with 0): lcd.setCursor(0, 1); // print the number
in „Avr Studio - LiquidCrystal.h Fehlermeldung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_io1.h
********************************************************** Title : C include file for the HD44780U LCD library (lcd_io.c) Author: Chris efstathiou hendrix@otenet.gr Date: 2/2/2003 6:35:06 ìì Software: AVR-GCC with AVR-AS Target: any AVR device Comments: This software is FREE. DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Based on Volker Oth's lcd library (http://members.xoom.com/volkeroth), Peter Fleury's work <pfleury@gmx.ch> http://jump.to/fleury . and the very good lcd page at www.myke.com With this driver
-
Datei
lcd_io1.h
********************************************************** Title : C include file for the HD44780U LCD library (lcd_io.c) Author: Chris efstathiou hendrix@otenet.gr Date: 2/2/2003 6:35:06 ìì Software: AVR-GCC with AVR-AS Target: any AVR device Comments: This software is FREE. DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Based on Volker Oth's lcd library (http://members.xoom.com/volkeroth), Peter Fleury's work <pfleury@gmx.ch> http://jump.to/fleury . and the very good lcd page at www.myke.com With this driver
in „LCD I2C Bibliothek“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Unit1.cpp
pragma hdrstop #include "Unit1.h" #pragma package(smart_init) #pragma resource "*.dfm" // Test für DOG_LCD an LPT D0 - D3 // SPI: SI D0; CLK D1; RS D2; CSB D3 TForm1 *Form1; //--------------------------------------------------------------------------- // CONSTRUCTOR, inpout32.dll laden __fastcall TForm1:
in „EA DOGM162L.A LC-Display“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LcdTest_.cpp
*************************************************************************** // uses: // ***** // Library Mcucpp by Konstantin Chizhov // Example mcucpp\examples\LcdTest // modified mcucpp\examples\LCDTest_\LcdTest_.cpp // mcucpp\drivers\HD44780_mod.h | class Lcd | MemHandler | ValueOut //************
in „Welchen Controller für C++ Programmierung?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Configuration_adv.h
with one decimal place when possible //#define LCD_DECIMAL_SMALL_XY // The timeout (in ms) to return to the status screen from sub-menus //#define LCD_TIMEOUT_TO_STATUS 15000 // Add an 'M73' G-code to set the current percentage //#define LCD_SET_PROGRESS_MANUALLY #if ENABLED(SDSUPPORT) || ENABLED(LCD_SET_PROGRESS_MANUALLY) //#define LCD_PROGRESS_BAR // Show a progress bar on HD44780 LCDs for SD printing #if ENABLED(LCD_PROGRESS_BAR) #define PROGRESS_BAR_BAR_TIME 2000 // (ms) Amount of time to show
in „Marlin Firmware mit dem ATMEL STUDIO 7 auf das Arduino Mega 2560 Board flashen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Versuch.vhd
: OUT STD_LOGIC; LCD_BLON_from_the_character_lcd_0 : OUT STD_LOGIC; LCD_EN_from_the_character_lcd_0 : OUT STD_LOGIC; LCD_ON_from_the_character_lcd_0 : OUT STD_LOGIC; LCD_RS_from_the_character_lcd_0 : OUT STD_LOGIC; LCD_RW_from_the_character_lcd
-
Datei
LCD_C0802_04.inc
;*********************************************************************** ; ; LCD-library for the LCD-Modul C0802-04 ; ; distrubied by www.pollin.de for low cost of 0,95 ; ; Author: Peter Rebesky ; ; Date: 20.01.2013 ; ;************************************************************
in „AVR LCD lib für HD47780 (z.B. Pollin C0802-04)“ · Projekte & Code ·
-
Datei
LCD_DEM16216.inc
;*********************************************************************** ; ; LCD-library for the LCD-Modul DEM 16216 ; ; Display 16 characters on 2 rows xxxxxxxxxxxxxxxx ; xxxxxxxxxxxxxxxx ; Author: Peter Rebesky ; ; Date: 13.04.2020 ; ;******************************************
-
Datei
LCD_DEM16216.inc
;*********************************************************************** ; ; LCD-library for the LCD-Modul DEM 16216 ; ; Display 16 characters on 2 rows xxxxxxxxxxxxxxxx ; xxxxxxxxxxxxxxxx ; Author: Peter Rebesky ; ; Date: 13.04.2020 ; ;******************************************
-
Datei
Arduino_LCD_Code.txt
#include <LiquidCrystal.h> #include <dogm_7036.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.print("hello, world!"); } void loop() { // Turn off the display: lcd.noDisplay(); delay(500); // Turn on the display: lcd.display(); delay(500); }
in „Arduino Mega2560 EA DOGM 163“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_Example.ino
——————————————————| #include LiquidCrystal_I2C.h #include Wire.h //initialize the liquid crystal library //the first parameter is the I2C address //the second parameter is how many rows are on your screen //the third parameter is how many columns are on your screen LiquidCrystal_I2C lcd(0x27, 16, 2); void setup() { //initialize lcd screen lcd.init(); // turn on the backlight lcd.backlight(); } void loop() { //wait for a second delay(1000) // tell the screen to write on the top row lcd.setCursor(0,0); // tell the screen to write
in „LCD-Display mit Arduino will nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
BibelLCD.c
into value if (value == '#') { lcd_setcursor( 0, 1 ); lcd_clear(); zeilennummer = 1; return; } if (value == '$') { //if (0) { lcd_setcursor( 0, 2 ); zeilennummer = 2; //return; } if (zeilennummer == 1) { if (value != '#') { lcd_data(
in „AVR HD44780 Fragen - Display - Fragen - C“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
patrick_home.c
PD2 input */ PORTD |= (1 << PD2); /* Pin PD2 pull-up enabled */ /* initialize display, cursor off */ lcd_init(LCD_DISP_ON); for (;;) { /* loop forever */ /* * Test 1: write text to display */ /* clear display and home cursor */ lcd_clrscr(); while(1){ uart_gets( s, sizeof( s ) ); } /* put string to display (line 1) with linefeed */ //lcd_puts("Die Scheisse\n"); /* cursor is now on second line, write second line */ //lcd_puts("geht"); /* move cursor to position 8 on line 2 */ lcd_gotoxy(7,1); /* write single char to display */ lcd_putc
in „[Atmega8]LCD-Display+UART“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
makefile.txt
ihex, binary) 69. FORMAT = ihex 70. 71. 72. # Target file name (without extension). 73. TARGET = helloLCD 74. 75. 76. # Object files directory 77. OBJDIR = obj 78. 79. 80. # List C source files here. (C dependencies are automatically generated.) 81. SRC = "C:/Ablage/µC/Projekte/libs/LCD/LCD.c" 82. 83. 84
in „Problem mit compilen mit headerdatei usw“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DABLCD.ino
//////////////////////////////////////////////////////////// // DAB/LCD Shield Example App // AVIT Research Ltd // // Library Dependencies: // * DABShiled // * Adafruit_RGBLCDShiled // * FlashStorage (SAMD devices e.g. M0, Zero etc) // * DueFlashStorage (Ardino Due) //
in „DAB Shield Frage zu Arduino Code“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DABLCD.ino
//////////////////////////////////////////////////////////// // DAB/LCD Shield Example App // AVIT Research Ltd // // Library Dependencies: // * DABShiled // * Adafruit_RGBLCDShiled // * FlashStorage (SAMD devices e.g. M0, Zero etc) // * DueFlashStorage (Ardino Due) //
in „DAB Shield Frage zu Arduino Code“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_bit_to_ascii.vhd
library ieee; use ieee.std_logic_1164.ALL; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; library UNISIM; use UNISIM.VComponents.all; entity lcd_bit_to_ascii is port (clk : in std_logic; -
in „Rechnen im Hex-Dezimalsystem mit Dezimalanzeige“ · FPGA, VHDL & Co. ·
-
Datei
commu_rs485_A.ino
print(UART_DATA.buff[stringnum]); Serial.print(UART_DATA.buff[stringnum]); Serial.print(" "); } M5.Lcd.fillRect(0, 30, 300, 20, WHITE); M5.Lcd.setCursor(0, 30); M5.Lcd.printf("Send count: %d",Send_Count); M5.Lcd.fillRect(0, 50, 300, 20, WHITE); M5.Lcd.setCursor(0, 50); M5.Lcd.printf("Send count OK: %
in „M5Stack COMMU Modul“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_CTRL.vhd
Engineer: Lothar Miller -- -- Create Date: 12:52:24 01/30/2010 -- Design Name: -- Module Name: top_LCD - Behavioral ---------------------------------------------------------- library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.NUMERIC_STD.ALL; entity LCD_Controller is Port ( -- Signale an LCD lcd_rw : out STD_LOGIC := '0'; lcd_rs : out STD_LOGIC := '0'; lcd_e : out STD_LOGIC := '0'; lcd_db : out STD_LOGIC_VECTOR(3 downto 0); -- Signale für DPRAM lcd_din : in STD_LOGIC_VECTOR(7 downto 0); lcd_x : in STD_LOGIC_VECTOR(3 downto
-
PDF
lcd4busy16new.lib.pdf
1.00 Date = 6 Januar 2010 Statement = Source Code Is Property Of Venotec Ug History = Startversion ;Library fuer Displaytech module umgearbeitet ;uC Speed 16MHz ;Rs = PortB.3 ;RW = PortB.2 ; E = PortB.1 ;E2 = PortB.0 optional fuer 2 chip LCD ;Db4 = PortB.4 high nibble ;Db5 = PortB.5 ;Db6 = PortB.6 ;Db7
in „Displayunterschiede 16x2 Electronic Assembly / Displaytech“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
zimmergewaechshaussteuerung.txt
DHT22 für 2. Pflanzschale */ #include <Wire.h> #include "RTClib.h" #include <Adafruit_SSD1306.h> // Library für OLED #include "DHT.h" // DHT Temperatur- und Feuchtesensor #include <LCD.h> #include <LiquidCrystal_I2C.h> #define HYT939_ADDR 0x28 // i²C Adresse Feuchte- und Temperatursensor HYT939 #define
in „LCD Display aktualisierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_controller.vhd
shift off Line 129 lcd_data <= "00000100"; -- decrement mode, entire shift on Line 130 lcd_data <= "00000101"; -- -------------------------------------------------------------------------------- LIBRARY ieee; USE ieee.std_logic
-
Datei
uhr.c
0b11110000)>>4)+48; time[7] = (sec & 0b00001111)+48; time[8] = 0; } int main(void) { DDRB = 0xff; // Board LCD Ansteuerung DDRC = 0x00; lcd_init(); unsigned char cnt=0; char x[9]; char Buffer[3]; i2c_init(); // initialize I2C library for(;;) { gettime(x); lcd_setcursor( 0, 1 ); lcd_string(" "); // clear all lcd_setcursor( 0, 1 ); lcd_string(x); // Display: '3?:??:?? abc ' (abc: counter 0..255) // Counter zur Loop-Kontrolle lcd_setcursor( 0, 2 ); lcd_string(" "); // clear all lcd_setcursor( 2, 2 ); cnt++; itoa
in „Zeit auslesen PCF8583-Atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c-lcd.c
LCD_RETURNHOME 0x02 #define LCD_ENTRYMODESET 0x04 #define LCD_DISPLAYCONTROL 0x08 #define LCD_CURSORSHIFT 0x10 #define LCD_FUNCTIONSET 0x20 #define LCD_SETCGRAMADDR 0x40 #define LCD_SETDDRAMADDR 0x80 /*
in „STM32: I2C-Master setzt ARLO-Flag (arbitration lost)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
twi-v1.c
LM75_TEMP 0b00000000 int main(void) { unsigned char ret1,ret2; unsigned char t[4]; ; wait_ms(200); lcd_init(); i2c_init(); // initialize I2C library // init LM75 i2c_start_wait(LM75_ADR+I2C_WRITE); i2c_write(LM75_CONFIG); // Config Register auswählen i2c_write(0); i2c_write(0); i2c_stop(); i2c_start_wait
in „LM75 und LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
twi-v1.c
LM75_TEMP 0b00000000 int main(void) { unsigned char ret1,ret2; unsigned char t[4]; ; wait_ms(200); lcd_init(); i2c_init(); // initialize I2C library // init LM75 i2c_start_wait(LM75_ADR+I2C_WRITE); i2c_write(LM75_CONFIG); // Config Register auswählen i2c_write(0); i2c_write(0); i2c_stop(); i2c_start_wait
in „i2c und lm 75“ · Mikrocontroller und Digitale Elektronik ·