ycetin
Üye
- Katılım
- 23 Haz 2010
- Mesajlar
- 40
- Puanları
- 1
- Yaş
- 37
#include <16F628a.h>
#FUSES NOWDT, INTRC_IO, NOMCLR, NOBROWNOUT, NOLVP, NOPUT, NOCPD,
#use delay(clock=4000000)
#use fast_io(a)
#use fast_io(b)
int8 i=0;
const char dizi[]={
0xE0,0x1C,0x03,0x1C,0xE0,0x00, // V
0x7F,0x88,0x88,0x88,0x7F,0x00, // A
0xFF,0x01,0x01,0x01,0x01,0x00, // L
0x00,0x00,0xBF,0x00,0x00,0x00, // İ
0x00,0x00,0x00,0x00,0x00,0x00,
0x80,0x80,0xFF,0x80,0x80,0x00, // T
0xFF,0x91,0x91,0x91,0x91,0x00, // E
0xE0,0x1C,0x03,0x1C,0xE0,0x00, // V
0xFF,0x90,0x90,0x90,0x90,0x00, // F
0x00,0x00,0xBF,0x00,0x00,0x00, // İ
0xFF,0x18,0x24,0x42,0x81,0x00, // K
0x00,0x00,0x00,0x00,0x00,0x00,
0xFF,0x91,0x91,0x91,0x6E,0x00, // B
0x7F,0x88,0x88,0x88,0x7F,0x00, // A
0x62,0x92,0x93,0x92,0x8C,0x00, // Ş
0x7F,0x88,0x88,0x88,0x7F,0x00, // A
0xFF,0x18,0x24,0x42,0x81,0x00, // K
0x7F,0x88,0x88,0x88,0x7F,0x00, // A
0xFF,0x98,0x94,0x92,0x61,0x00, // R
0x00,0x00,0x00,0x00,0x00,0x00,
0x7E,0x81,0x81,0x81,0x7E,0x00, // O
0x00,0x00,0x00,0x00,0x00,0x00,
0x7E,0x81,0x81,0x81,0x7E,0x00, // O
};
void main() {
setup_comparator(NC_NC_NC_NC);
setup_vref(FALSE);
set_tris_a(0b11111111);
set_tris_b(0x00);
output_b(0);
for(;{
for(i=0;i<144;i++){
output_b(dizi);
delay_ms(3);
}
delay_ms(144);
}
}
bu yazı çevirmem lazım acil olarak yardı edebilirmisiniz.
#FUSES NOWDT, INTRC_IO, NOMCLR, NOBROWNOUT, NOLVP, NOPUT, NOCPD,
#use delay(clock=4000000)
#use fast_io(a)
#use fast_io(b)
int8 i=0;
const char dizi[]={
0xE0,0x1C,0x03,0x1C,0xE0,0x00, // V
0x7F,0x88,0x88,0x88,0x7F,0x00, // A
0xFF,0x01,0x01,0x01,0x01,0x00, // L
0x00,0x00,0xBF,0x00,0x00,0x00, // İ
0x00,0x00,0x00,0x00,0x00,0x00,
0x80,0x80,0xFF,0x80,0x80,0x00, // T
0xFF,0x91,0x91,0x91,0x91,0x00, // E
0xE0,0x1C,0x03,0x1C,0xE0,0x00, // V
0xFF,0x90,0x90,0x90,0x90,0x00, // F
0x00,0x00,0xBF,0x00,0x00,0x00, // İ
0xFF,0x18,0x24,0x42,0x81,0x00, // K
0x00,0x00,0x00,0x00,0x00,0x00,
0xFF,0x91,0x91,0x91,0x6E,0x00, // B
0x7F,0x88,0x88,0x88,0x7F,0x00, // A
0x62,0x92,0x93,0x92,0x8C,0x00, // Ş
0x7F,0x88,0x88,0x88,0x7F,0x00, // A
0xFF,0x18,0x24,0x42,0x81,0x00, // K
0x7F,0x88,0x88,0x88,0x7F,0x00, // A
0xFF,0x98,0x94,0x92,0x61,0x00, // R
0x00,0x00,0x00,0x00,0x00,0x00,
0x7E,0x81,0x81,0x81,0x7E,0x00, // O
0x00,0x00,0x00,0x00,0x00,0x00,
0x7E,0x81,0x81,0x81,0x7E,0x00, // O
};
void main() {
setup_comparator(NC_NC_NC_NC);
setup_vref(FALSE);
set_tris_a(0b11111111);
set_tris_b(0x00);
output_b(0);
for(;{
for(i=0;i<144;i++){
output_b(dizi);
delay_ms(3);
}
delay_ms(144);
}
}
bu yazı çevirmem lazım acil olarak yardı edebilirmisiniz.