| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| hisham.i 
 
 
 Joined: 22 Aug 2010
 Posts: 43
 
 
 
			    
 
 | 
			
				| max7219 problem |  
				|  Posted: Thu Oct 21, 2010 7:12 am |   |  
				| 
 |  
				| Hello, I am trying to use max7219 driver to drive 8 by 8 matrix using pic16f877.
 I made a circuit in Proteus to simulate my program but nothing happened to the outputs of max7219.
 This is my code
 
 Last edited by hisham.i on Sun Oct 24, 2010 6:37 am; edited 1 time in total
 |  | 
	
		|  | 
	
		| John P 
 
 
 Joined: 17 Sep 2003
 Posts: 331
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Oct 21, 2010 11:21 am |   |  
				| 
 |  
				| Is this a joke? 
 Please go to the data sheet of the MAX7219. What do you see under the heading "Serial-Addressing Modes"?
 |  | 
	
		|  | 
	
		| bkamen 
 
 
 Joined: 07 Jan 2004
 Posts: 1617
 Location: Central Illinois, USA
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Oct 21, 2010 12:34 pm |   |  
				| 
 |  
				|  	  | John P wrote: |  	  | Is this a joke? 
 Please go to the data sheet of the MAX7219. What do you see under the heading "Serial-Addressing Modes"?
 | 
 
 
 How about just the main page:
 
 http://www.maxim-ic.com/datasheet/index.mvp/id/1339
 
 Where is any of your code that talks to the MAX7219?!?
 _________________
 Dazed and confused? I don't think so. Just "plain lost" will do.  :D
 |  | 
	
		|  | 
	
		| PCM programmer 
 
 
 Joined: 06 Sep 2003
 Posts: 21708
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Oct 21, 2010 1:08 pm |   |  
				| 
 |  
				| You need a driver for the Max7219.  Look in the CCS Code Library forum for this.   Always search the code library and the regular forum for code
 before asking for it.  Usually, there is some sample code.
 
 http://www.ccsinfo.com/forum/search.php
 |  | 
	
		|  | 
	
		| temtronic 
 
 
 Joined: 01 Jul 2010
 Posts: 9589
 Location: Greensville,Ontario
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Oct 21, 2010 1:29 pm |   |  
				| 
 |  
				| Shows you how 'brainwashed' people can get.... To me 'serial' meant 20mA current loops for TTY ( yes, ASR33 teletypes),then 'serial' meant 60mA loops for my remote energy control systems.
 Nowadaze ,everyone figures a PC serial port is 'the' standard, although I've never figured out WHY xmt and rcv pins were swapped. Makes us old guys have to think when we make our cables up....
 
 oh well....
 
 soon 'serial' will just mean USB.......arrgh.....
 |  | 
	
		|  | 
	
		|  |