Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 7th October 2007, 12:07 PM   (permalink)
Default I made a moving message

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);
}}
codes for 74hc138 ;;;;;;;;;;;

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
RoMeO123 is offline  
Old 7th October 2007, 12:46 PM   (permalink)
Default

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
gramo is offline  
Old 7th October 2007, 01:24 PM   (permalink)
Default

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
RoMeO123 is offline  
Old 7th October 2007, 05:14 PM   (permalink)
Default

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.
donniedj is offline  
Old 7th October 2007, 11:13 PM   (permalink)
Default

ı wanna show the same character but I couldn't do it

help me

it will be shown on this schema
RoMeO123 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
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



All times are GMT. The time now is 08:33 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker