keypad_lcd_ekran_haftasonu_gurubu
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #include "mbed.h" 00002 #include "TextLCD.h" 00003 #define metin " auido " 00004 TextLCD lcd(PB_0, PA_4, PC_3, PC_2, PB_3, PA_10); // rs, e, d4-d7 00005 00006 int main() { 00007 for(;true;)//while(true) 00008 { 00009 for(uint8_t digit=0;digit<=11;digit++) 00010 { 00011 lcd.locate(digit,0); 00012 lcd.printf(metin); 00013 wait_ms(400); 00014 00015 } 00016 for(uint8_t digit=10;digit>0;digit--) 00017 { 00018 lcd.locate(digit,0); 00019 lcd.printf(metin); 00020 wait_ms(400); 00021 00022 } 00023 00024 }//for(;true;) 00025 return 0; 00026 }//main
Generated on Mon Aug 8 2022 05:09:45 by
1.7.2
Marvas