Does this chip have the bootloader? How do I tell?
http://www.mouser.com/ProductDetail/Atmel/ATMEGA328P-PU/?qs=K8BHR703ZXguOQv3sKbWcg==
Getting my parts order ready !!
katchup, How many points are you using? Can you just make an array of the ten entries?
Ok I finished putting to typhon together and have a newbie question. Will I get anything on the lcd display if I havnt uploaded anything to it?
//Note I changed 27 to 37 and added the 0 point
int Percentages[11] = { 0, 1, 2, 5, 8 ,12, 28, 37, 44, 80, 255 };
// ramp up the lights
for (int i = 1, i < 11, 0)
{
setLEDLevel(Percentages[i];
delay
}
delay for daylight
// ramp down the lights
for (int i = 10, i > 0, i--)
{
setLEDLevel(Percentages[i];
delay
}
delay for night
ok I forgot my overall while loop (and the C is iffy), but I think this gives you what you need
Ok contrast was too high. I now have the top row of 16 blank squares lit up should I be concerned with the bottom 16 unlit prior to uploading the sketch?
I believe this is normal.
katchup you still have a problem at 70% should that be 37? Also what increase 10% the current or the light output? I was thinking light, but that last statement makes we wonder.
bd98072 said:Anyone have a Mouser part number for the Digikey CP-102A-ND, which is the 2.1mm center positive DC Jack.
Does this chip have the bootloader? How do I tell?
http://www.mouser.com/ProductDetail/Atmel/ATMEGA328P-PU/?qs=K8BHR703ZXguOQv3sKbWcg==
Getting my parts order ready !!
Ok I finished putting to typhon together and have a newbie question. Will I get anything on the lcd display if I havnt uploaded anything to it?
//#define ELN_D
//#define ELN_P
#ifdef ELN_D
int Percentages[11] = { 0, 1, 2, 5, 8 ,12, 28, 37, 44, 80, 255 };
#define ELN_PERCENTAGED_DEFINED
#endif
#ifdef ELN_P
int Percentages[11] = { 0, 25, 50, 75, 100, 125, 150, 175, 200, 225, 255 };
#define ELN_PERCENTAGED_DEFINED
#endif
#ifndef DEFINED
You must define either ELN_D or ELN_P
#endif