Using lcd_puts

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I added this line to my main(), but got a build error since I'm not including this function.

Please tell me in which header file I can find 'lcd_puts?'

Also, please tell me where to find this header file.

Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Please tell US which LCD library you are using. :?

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My mistake, John.

I'm using the Atmega169 simulator. I'm not sure how to tell you which LCD library I'm using, but I figured it'd be helpful to mention which device I'm using.

Thanks for your replies!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Most LCD library code is for the HD44780 type of 16x2 (or other size) character LCD module so will not be useable with the mega169 which needs completely different code to drive it's LCD. If you are using the Atmel Butterfly then see the Tutorial Forum for an article written by abcminiuser (Dean Camera) which presents a library of code for the LCD with the mega169 of the Atmel Butterfly.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Your posts in this and the other thread are a bit surprising. In the other thread titled "[CODE] [C] Simple Butterfly LCD driver" you ask if the code will work with the ATmega169 on your Butterfly board - did you read the thread title? And here you are trying to use a function without knowing where it comes from? Maybe you are getting way ahead of yourself and should back up quite a bit.

Could you post what resources you have read on the Butterfly and its LCD?

Maybe these might help you get started:
Chuck Bairds: so I got a Butterfly - Now What?
https://www.avrfreaks.net/index.p...

or:
My Butterfly FAQ:
http://www.smileymicros.com/down...

or:
Butterfly Quick Start Guide:
http://www.smileymicros.com/Quic...

Butterfly Alternate Pin Use
http://smileymicros.com/download...

And an Atmel publication:
AVR Butterfly Evaluation Kit - User Guide

Smiley

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Smiley -

You are right. I am in over my head. I appreciate you calling me out.

I have read parts of various sections of this board's manual. I'll read what you mentioned before asking more random questions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You seem no more confused than I am. Was stuck for quite a while with people saying, "just read the manual." I was looking for "Sleep" in the A/D section, but needed to be looking for A/D in the sleep section of the manual.

It IS hard to get started. I still start each project out with, "Can I blink an LED on and off." This tells me if I have the clock running the speed I think, is the chip running at all or have I mis connected the power, and that I'm successfully getting the program into the chip.

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

I was looking for "Sleep" in the A/D section, but needed to be looking for A/D in the sleep section of the manual.

Just a general comment but in this case if you had just used Ctrl-F and searched "sleep" and then had a quick glance through each occurrence the chances are you would have stumbled upon the bit you were looking for.