Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 19:02 29 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Micromite 4 Line LCD, Interrupts

Author Message
aargee
Senior Member

Joined: 21/08/2008
Location: Australia
Posts: 255
Posted: 01:26am 26 Nov 2014
Copy link to clipboard 
Print this post

Geoff (and all),

I'm using a 4 line x 16 Character LCD, the character positioning doesn't seem to work. It seems like there is an assumption that the LCD is 20 Chars wide. Lines 1 and 2 are OK but 3 and 4 are offset 4 Chars to the right. This is the same using LCD, 1, 1, "XYZ" or LCD, 1, C16, "XYZ"

Maybe the LCD statement could have a definition of the LCD connected? e.g.

LCD INIT 2, 3, 4, 5, 23, 24, 4X16 or 2X20 or 1X16 etc

and...

The Interrupt controller is on hold while the Micromite waits while the DS18B20 conversion process is occurring?

Excuse me if I'm missing something...

- Rob.


For crying out loud, all I wanted to do was flash this blasted LED.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5905
Posted: 10:02am 26 Nov 2014
Copy link to clipboard 
Print this post

  aargee said   Geoff (and all),

The Interrupt controller is on hold while the Micromite waits while the DS18B20 conversion process is occurring?

Excuse me if I'm missing something...

- Rob.



From the manual

  Quote  The time required for the overall measurement is 200mS and interrupts will
be ignored during this period. Alternatively the DS18B20 START command
can be used to start the measurement and your program can do other things
while the conversion is progressing.


Jim
VK7JH
MMedit   MMBasic Help
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2289
Posted: 10:49am 26 Nov 2014
Copy link to clipboard 
Print this post

hi,
there have been various discussions about 4-line LCD displays having offset characters in the 3rd and 4th lines. it seems there are at least 2 different configurations of display hardware out there. people have kludged a solution in the past by applying offsets to the horizontal position for these lines with 4-line displays.

geoff: is this something that could be revisited for the mk2 firmware, perhaps an extra (optional) parameter to the LCD initialization code?


cheers,
rob :-)Edited by robert.rozee 2014-11-27
 
aargee
Senior Member

Joined: 21/08/2008
Location: Australia
Posts: 255
Posted: 11:10am 26 Nov 2014
Copy link to clipboard 
Print this post

Thanks, Jim, I should RTFM! (more closely)

BTW - is your MMEdit webpage down?
For crying out loud, all I wanted to do was flash this blasted LED.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5905
Posted: 12:29pm 26 Nov 2014
Copy link to clipboard 
Print this post

  aargee said   Thanks, Jim, I should RTFM! (more closely)

BTW - is your MMEdit webpage down?


Yes. It went down sometime this morning. I hope that means that the hosting provider is working on the email problem I reported to them yesterday.

If it stays down, I will provide an alternative site later.

Here is an alternative:
http://www.users.on.net/~tassyjim/MMedit.htm

JimEdited by TassyJim 2014-11-27
VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5905
Posted: 03:27pm 26 Nov 2014
Copy link to clipboard 
Print this post

My website went off air sometime this morning.

I have been having problems with email lately and I hope the problem means the host provider is working on it.

I can FTP and ping etc but no web server.

Here is an alternative which I will probably make the main site soon.

http://www.users.on.net/~tassyjim/MMedit.htm



Jim
Edited by TassyJim 2014-11-28
VK7JH
MMedit   MMBasic Help
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024