![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I have made moving message but I have a problem ![]() ![]() codes for 74hc154 ;;;;;;;;; Code: #include <AT89x51.H>
#include <stdio.h>
#include <delay.c>
#define sayici P2
const char A[]={0x00,0x7C,0x0A,0x09,0x0A,0x7C};
void main (){
for(sayici=0;sayici<7;sayici++){
P0=~A[sayici];
delay_ms(3);
}} Code: #include <AT89x51.H>
#include <stdio.h>
#define sayici P2
#include <delay.c>
const char A[]={0x00,0x7C,0x0A,0x09,0x0A,0x7C};
void main (){
for(sayici=0;sayici<7;sayici++){
P0=~(A[sayici+1]);
delay_ms(3);
}} but I want to do same thing with 74HC595 or CD4094 you can give me sample code it can be in CCS or MikroC or Ansi-C(keil-iar) but not in Asm or Pic basic :S | |
| |
| | (permalink) |
| Do you really require them? You could just make a program for the same result minus the 74HC's
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |
| |
| | (permalink) |
| I just wanna do program for 8x8 dotmatris I can use the demultuplexser Ic but I don't know use the serial to parallel Ic if there is anyone who know to control 74hc595 or 4094,, can help me ??? I wanna just this I did this project but I wanna do the same thing with 74hc595 or 4094 can yoou help me | |
| |
| | (permalink) |
| Do you have a 74HC595 datasheet like here :http://www.tranzistoare.ro/datasheets/270/491765_DS.pdf ? Its usage is straight forward, no addressing and no command structures. Just clock in 8-bit data with the Data and Clock. Then expose data to parallel with the Latch line. A beautiful raw interface. Most other pins are features that need not necessarily be connected to the Microcontroller. | |
| |
| | (permalink) |
| ı wanna show the same character but I couldn't do it help me it will be shown on this schema ![]() | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Moving message display | shahzad-h | Electronic Projects Design/Ideas/Reviews | 2 | 4th May 2006 04:59 PM |
| Moving Message Display | picstudent | Micro Controllers | 0 | 21st August 2004 09:03 AM |
| Microcontrolled Moving Message Display | R-Ramachandran | Micro Controllers | 2 | 11th April 2004 07:51 AM |
| moving message display | sonusonu | General Electronics Chat | 2 | 7th March 2003 11:05 PM |
| please help with moving message display | sonusonu | General Electronics Chat | 1 | 21st February 2003 03:44 AM |