Search found 40 matches
- Mon Oct 20, 2014 3:49 pm
- Forum: Modules
- Topic: GLCD KS0108 issue
- Replies: 17
- Views: 11391
Re: GLCD KS0108 issue
I revised the code, however it did not work. Also the box outline is not being displayed on the right. SetAllDigital() // set MCU pins as digital // setup uart USART.SetBaudrate(br19200) // make uart TX pin IO TXSTA.bits(5) = 0 // disable TXEN Output(PORTC.6) // make sure pin is output GLCD.Cls ISRR...
- Mon Oct 20, 2014 1:01 pm
- Forum: Modules
- Topic: GLCD KS0108 issue
- Replies: 17
- Views: 11391
Re: GLCD KS0108 issue
Jerry, As per suggestion Iedited part of the code (see below), however as per attached photo I'm still having the same issue. USART.SetBaudrate(br19200) TXSTA.bits(5) = 0 // disable TXEN output(PORTC.6) // make sure pin is output // try to set output pin high(PORTC.6) low(PORTC.6) ISRRX.Initialize()
- Mon Oct 20, 2014 10:51 am
- Forum: Modules
- Topic: GLCD KS0108 issue
- Replies: 17
- Views: 11391
Re: GLCD KS0108 issue
I also found [UMCUserCodeIOPins]
however can't figure out how to configure it.
http://www.sfcompiler.co.uk/wiki/pmwiki ... CodeIOPins
however can't figure out how to configure it.
http://www.sfcompiler.co.uk/wiki/pmwiki ... CodeIOPins
- Mon Oct 20, 2014 9:50 am
- Forum: Modules
- Topic: GLCD KS0108 issue
- Replies: 17
- Views: 11391
Re: GLCD KS0108 issue
I new to this, however when reviewing the 18f2525 manual, I noticed you can override the ports.
Does any know how I can disable PortC.6 as the usart TX pin so that I can use it as CS3 GLCD pin?
Does any know how I can disable PortC.6 as the usart TX pin so that I can use it as CS3 GLCD pin?
- Mon Oct 20, 2014 9:20 am
- Forum: Modules
- Topic: GLCD KS0108 issue
- Replies: 17
- Views: 11391
Re: GLCD KS0108 issue
I have no other free pins. Is there a away to disable the hw usart TX line?
- Mon Oct 20, 2014 8:59 am
- Forum: Modules
- Topic: GLCD KS0108 issue
- Replies: 17
- Views: 11391
Re: GLCD KS0108 issue
Test 1 - modified the following //Include "DS1307.bas" Result - no change - nothing displayed in far right of GLCD ------------------------------------------------------------ Test 2 - modified the following #option DS1307_SI2C = true #option I2C_SCL = PORTC.3 #option I2C_SDA = PORTC.4 ... Include "...
- Sun Oct 19, 2014 4:05 pm
- Forum: Modules
- Topic: GLCD KS0108 issue
- Replies: 17
- Views: 11391
GLCD KS0108 issue
I've been having a issue that cannot figure out. CODE 1 and PHOTO 1 ..works and all 3 areas of the display work. CODE 2 and PHOTO 2 ..not working...area 3 (far right) nothing is displayed. I'd appreciate any suggestions. CODE 1 Device = 18F2525 Clock = 10 //external crystal //Config OSC = INTIO67 //...
- Thu Oct 16, 2014 8:07 pm
- Forum: User Modules
- Topic: Help .. convert to characters
- Replies: 36
- Views: 21158
Re: Help .. convert to characters
Great news it works! Thanks very much for help. I don't recall why I had 40 instead of 10. I can now start some meaningfully programming. BTW this is my first programming project ever. On another note see my photos. I put the following into to code to see that I can utilize the full real estate. GLC...
- Thu Oct 16, 2014 10:59 am
- Forum: User Modules
- Topic: Help .. convert to characters
- Replies: 36
- Views: 21158
Re: Help .. convert to characters
also set max lines to 5
- Thu Oct 16, 2014 10:59 am
- Forum: User Modules
- Topic: Help .. convert to characters
- Replies: 36
- Views: 21158
Re: Help .. convert to characters
Confirmed PICAXE code regarding baud and mode setup
symbol Baud_Setup = B19200_64
symbol Mode = %00000000 'Mode: No background receive, no serial data invert.
Latest baudrate on GLCD
USART.SetBaudrate(br19200)
Photo with result attached
symbol Baud_Setup = B19200_64
symbol Mode = %00000000 'Mode: No background receive, no serial data invert.
Latest baudrate on GLCD
USART.SetBaudrate(br19200)
Photo with result attached
- Thu Oct 16, 2014 12:47 am
- Forum: User Modules
- Topic: Help .. convert to characters
- Replies: 36
- Views: 21158
Re: Help .. convert to characters
Ok I ran it and am back at my original issue..garbled text...photo attached.
- Wed Oct 15, 2014 9:07 pm
- Forum: User Modules
- Topic: Help .. convert to characters
- Replies: 36
- Views: 21158
Re: Help .. convert to characters
Ok ... still having problems... code and photo attached. Device = 18F2525 Clock = 40 ' external crystal x 4 //Config OSC = HSPLL ' Config OSC = HSPLL #Option GLCD_MODEL = KS0108 #option GLCD_CS_COUNT = 3 #Option GLCD_SCREEN_WIDTH = 192 #Option GLCD_SCREEN_HEIGHT = 64 #Option GLCD_DATA = PORTB #Optio...
- Wed Oct 15, 2014 12:17 am
- Forum: User Modules
- Topic: Help .. convert to characters
- Replies: 36
- Views: 21158
Re: Help .. convert to characters
You lost me on what you're trying to show.
This was what was displayed on the GLCD..
Hex Bytes: 80, 0, 0
This was what was displayed on the GLCD..
Hex Bytes: 80, 0, 0
- Tue Oct 14, 2014 5:26 pm
- Forum: User Modules
- Topic: Help .. convert to characters
- Replies: 36
- Views: 21158
Re: Help .. convert to characters
Then when are my PTT ERR characters and why aren't they displayed?
You can see that in my postings above they do show up in the terminal.
You can see that in my postings above they do show up in the terminal.
- Tue Oct 14, 2014 4:11 pm
- Forum: User Modules
- Topic: Help .. convert to characters
- Replies: 36
- Views: 21158
Re: Help .. convert to characters
I'm included a photo of the GLCD.