Hi Friends, I'm using a real time clock chip (DS1307) which has back up battery when power goes out. My problem is the chip doesn't keep up time when on B/U power, it just stops there. When power is...
Type: Posts; User: RobertD
Hi Friends, I'm using a real time clock chip (DS1307) which has back up battery when power goes out. My problem is the chip doesn't keep up time when on B/U power, it just stops there. When power is...
It's atmega 328.
This is all the code I wrote to familiarize myself with eeprom operation.
Seems I definitely have to initialize .
How do I initialize the EEPROM...?
Would it be...
Hello friends, this is a test program I'm writing to get eeprom to read back a couple of long integers. So far, I incremented up a few hundred clicks, (because I could not load 45,000 on startup) ...
Thank you quzah, I'm slugging through this with great enthusiasm.
My only wish would be to have started ten years ago.
Lucky for me I don't have to use pointers yet, or call on functions outside...
Never mind, I found the problem the second if loop has a ";" at the end, and that's what the problem was, now it's working fine.
Sorry for the wasted bandwidth.
Thanks quzah, how would I make...
Hi Friends,
Working on my project here, decided to add a button to get into setup, and use the two others to go up and down. It's easier. But now I run these two if loops, the first one works...
Thanks for your help, I will work on this tomorrow. I have to finish this soon, I have customers waiting. :)
if (button3 == HIGH)
{
tick1++; //wait 3 seconds then enter...
Indeed a "while button down" count 5 seconds, then enter setup, sounds like the right approach.
Then, when either button is held down, I want a tick up/down every 300ms, or at every press of the...
I have two buttons on hardware, 3 and 4, and I use them both to enter setup and to enter the high and low value in memory, so if I press button 3 for three seconds, I enter setup, then I press 3...
Correcting the indentation.
if (button4 == HIGH)
{
tick1++; //wait 3 seconds then enter setup.
if(tick1 == 35000)
{
...
Thanks friends. I will correct the code. No ==, lset = lset - 1, and turn around the beginning lines. the 65000 ticks represents millis, so that's about 6.5 secs, too long I admit, I'll change that,...
Hi friends,
Being a newbie means I have to be humble and ask for help from time to time.
I'm trying to write code for a two button set up, high/low, which are used to change their values in...
Best policy is: Don't put anything on the web you don't want everybody to know.
You must assume there is no secrecy, no privacy, and nothing hidden.
I'll try to buy a ready made unit that looks like a cell phone, or a gps, with programming guide.
I realize now that just putting a touch screen over a display is quite a task.
I think ready...
I'd like to program something like this...!
May be a bit of an overkill for what I need though.... :)
HTC Incredible and EVO 4G to feature new maXTouch sensors – Android and Me
What kind of coding do I use to operate a touch screen like this Sharp color 24 bit LCD? I want to input data, and display data with this. The back-lit LCD is kind of crude looking, I want sharp...
You can have my girlfriend's first born son, he's a pain in the butt.
The check is in the mail...
My array starts at 1 going up and ends at 0 going down.
But you're right I can change that in the array.
BTW, the sequence in the array goes from 8 to 15 first,...
:redface:
Thank you friends for your encouragement, I am forever in your debt. I was just reading about arrays and pointers trying to figure out where I went wrong.
But you just made my day....
Hello friends.
This is my first C program, and I have been plugging at this for a while. I had it running perfect in Basic, but C is more complicated and I'm making slow progress. I would like ...