Daisy Chain of Ic74HC595 can it control a LCD screen.
#1
Posted 22 April 2012 - 05:22 PM
[code=auto:0]Ic74HC595Chain ChainOut = new Ic74HC595Chain(SPI_Devices.SPI1, Pins.GPIO_PIN_D9, 2)/code]
The daisy chain wiring is shown HERE
#2
Posted 22 April 2012 - 05:59 PM
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#4
Posted 22 April 2012 - 06:12 PM
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#5
Posted 22 April 2012 - 06:13 PM
#6
Posted 22 April 2012 - 06:16 PM
#7
Posted 22 April 2012 - 06:20 PM
It will be. I've got the code at home. I'll post it here asapI would love to get it in the same format as other 'interfaces' in the toolbox library such as the 7segment led.
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#8
Posted 22 April 2012 - 06:21 PM
#9
Posted 23 April 2012 - 06:34 AM
- .NET Micro Framework Toolbox
- μLiquidCrystal
Sample code:
Ic74HC595Chain IcChain = new Ic74HC595Chain(SPI_Devices.SPI1, Pins.GPIO_PIN_D8, 3); // Used Latch pin is digital pin 8, used SPI-bus is bus 1; pins 11, 12, 13 Ic74HC595LcdProvider LcdProvider = new Ic74HC595LcdProvider(IcChain, 2); Lcd Display = new Lcd(LcdProvider); Display.Begin(Width, Height);
Attached Files
- smarcus3 likes this
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#10
Posted 23 April 2012 - 06:39 AM
#11
Posted 23 April 2012 - 06:39 AM
Yup, and to the LCD like this:Thanks. I assume I wire it up the same as on your site here: https://stefan.co/el...h-bitshift-ics/
http://geekswithblog...id_crystal.aspx
- smarcus3 likes this
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#12
Posted 23 April 2012 - 06:41 AM
#13
Posted 29 April 2012 - 08:01 PM
#14
Posted 29 April 2012 - 08:03 PM
Is your LCD requiring 3.3V or 5V?I hooked it up like the example but it is not working.
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#15
Posted 29 April 2012 - 08:04 PM
Is your LCD requiring 3.3V or 5V?
I believe 5V but it should be receiving that. All I did was stop using the microlcd library functions and used your lines of code instead. The wiring is unchanged. I think it might be miss wired on the N side.
#16
Posted 29 April 2012 - 08:38 PM
#17
Posted 29 April 2012 - 08:40 PM
Ok cool, what was the issue if I may ask?Just figured it out.
Thanks
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#19
Posted 29 April 2012 - 08:51 PM
Ahh happens to me all the time as wellWired up wrong.
Glad you got it running now!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users