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.
Please tell US which LCD library you are using. :?
Ampertronics Pty. Ltd.
* Electronic Design * Custom Products * Contract Assembly
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!
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.
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?
My Butterfly FAQ:
Butterfly Quick Start Guide:
Butterfly Alternate Pin Use
And an Atmel publication:
AVR Butterfly Evaluation Kit - User Guide
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.
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.
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.
© 2021 Microchip Technology Inc.