Diskuze: atmega16 a lcd
Zobrazeno 4 zpráv z 4.
//= Settings::TRACKING_CODE_B ?> //= Settings::TRACKING_CODE ?>
čau, neviem či ti to pomôže, je to v microC.
// LCD module connections
sbit LCD_RS at PORTC2_bit;
sbit LCD_EN at PORTC3_bit;
sbit LCD_D4 at PORTC4_bit;
sbit LCD_D5 at PORTC5_bit;
sbit LCD_D6 at PORTC6_bit;
sbit LCD_D7 at PORTC7_bit;
sbit LCD_RS_Direction at DDC2_bit;
sbit LCD_EN_Direction at DDC3_bit;
sbit LCD_D4_Direction at DDC4_bit;
sbit LCD_D5_Direction at DDC5_bit;
sbit LCD_D6_Direction at DDC6_bit;
sbit LCD_D7_Direction at DDC7_bit;
// End LCD module connections
void main() {
Lcd_Init(); // prvotna inicializacia displeja
Lcd_Cmd(_LCD_CLEAR); // vymazanie displeja
Lcd_Cmd(_LCD_CURSOR_OFF); // vypnutie kurzora
Lcd_out(1,1,"hello world"); //vypísanie na display
no len ja by som to potreboval implementovat do Atmel Studia
Check this : "":https://electrosome.com/…tmel-studio/
Zobrazeno 4 zpráv z 4.