![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #16 |
|
I will say Stella looks familiar ![]() As for the two wire LCD interface I had a SPI + 2 wire (4 wires) that I was going to use in a future kit design. I tied RW to gnd but used the 8 bit mode and standard mode 1 SPI . The E line was CS and RS was the other wire. | |
| |
| | #17 | ||
| Quote:
Then the dsPIC kind of forced me to get back into C programming and I realized I didn't hate it as much as I had remembered. Lately I'm doing nothing but C.Quote:
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | |||
| |
| | #18 |
|
Very nice, I am too much a beginner to design anything nifty yet, hope to be their soon. Just a hobby as of now, but never know. Maybe I will have to switch to that C complier, I am using ME's Pascal version right now, just because programed in pascal for a while so easier transition for me atm. I do allot in Linux in C of course mostly old school hacking, aka patching code..lol I also have their EasyPIC 5 board, and I like it allot, but as a company I think they are on the wrong track for the long haul. We'll see ![]() -BaC
__________________ Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}... | |
| |
| | #19 | |
| Heh, ya. ![]() Quote:
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
| | #20 |
|
You talking Stella the drink or the board?..lol -BaC
__________________ Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}... | |
| |
| | #21 |
| Stella's a drink? Never heard of it.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | |
| |
| | #22 |
|
OK you pulling my leg or serious; Belgium beer to be exact. Well look at the nick and I guess you can tell I used to drink allot maybe that is why I recognized it as a beer. Why did he name it Stella anyways, was he drinking it when he thought of /designed it?..lol
__________________ Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}... | |
| |
| | #23 | |
| Quote:
He names his boards after women. He has another design named Michelle.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 30th May 2008 at 07:11 AM. | ||
| |
| | #24 | |
|
Yep that is it Ahh, good thing I don't use that naming convention, there be about 30 names and all wouldn't work, just cost more-and-more money...lmao-BaC Quote:
__________________ Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}... | ||
| |
| | #25 |
|
My SPI + 2 LCD design is practical if you have other SPI devices like EEPROM. Since the LCD is in 8bit mode you simply send the data as you would normally to the SPI port. | |
| |
| | #26 |
|
That actually looks like a very nice way to do it too, Bill. And much more flexible as an 8-bit latch for other tasks when you don't toggle the LCD 'E' line as you've shown with the 4x4 keypad option. Heck, you could even drive 4 digit 7 segment display (and lots of other things) with that configuration. Way to go! Last edited by Mike, K8LH; 30th May 2008 at 02:14 PM. | |
| |
| | #27 |
| Hey! That's kind of cool. I have some 164's here I think. Must try it.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | |
| |
| | #28 |
|
Very nice Bill, that is definitely going in my notes, love to free up some i/o's. Thanks again! -BaC
__________________ Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}... | |
| |
| | #29 | |
| Quote:
I was just looking at the timing diagrams for SPI and I was wondering when you would strobe the E line on the LCD? Would you monitor the TRMT flag in the TXSTA register after sending an SPI byte to insure that all 8 bits have been streamed out and latched into the '164 before sending the E strobe signal? Mike | ||
| |
| | #30 |
|
You'd have to wait either a delay depending on how fast your SPI bus is running or wait for the TRMT flag.
| |
| |
|
| Tags |
| boostc, degree, lcd, sprintf, symbol |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| College Degree: A Complete Waste so far | DigiTan | Chit-Chat | 150 | 11th August 2008 07:14 PM |
| math.h and lib for BoostC? | futz | Micro Controllers | 3 | 31st March 2008 06:29 AM |
| Symbol ? | ATSRND | General Electronics Chat | 1 | 9th January 2008 04:05 AM |
| Final Year Electronics Degree Project | rgraj | Electronic Projects Design/Ideas/Reviews | 2 | 25th March 2006 05:19 PM |
| What does this symbol mean? | DJ_ReL@X! | General Electronics Chat | 6 | 24th October 2004 01:01 AM |