-
Content Count
4 -
Joined
-
Last visited
-
Days Won
1
Reputation Activity
-
oldcyberdude got a reaction from EngIP in Motion Detection Wildlife Camera
It took some time to get the camera in right spot and of course, match my "visitor's" schedule. One thing I have learned is that the flash in a small cameras isn't all that powerful and only lights a short range. Early on I got a long shot (very poor lighting) of a raccoon. Here is a much better shot of my visitor last night.
-
oldcyberdude got a reaction from bluehash in Motion Detection Wildlife Camera
It took some time to get the camera in right spot and of course, match my "visitor's" schedule. One thing I have learned is that the flash in a small cameras isn't all that powerful and only lights a short range. Early on I got a long shot (very poor lighting) of a raccoon. Here is a much better shot of my visitor last night.
-
oldcyberdude got a reaction from oPossum in Motion Detection Wildlife Camera
It took some time to get the camera in right spot and of course, match my "visitor's" schedule. One thing I have learned is that the flash in a small cameras isn't all that powerful and only lights a short range. Early on I got a long shot (very poor lighting) of a raccoon. Here is a much better shot of my visitor last night.
-
oldcyberdude got a reaction from zeke in Launchpad to SparkFun Serial LCD
I trying to use the button count code with a Sparkfun backpack and 4x20 lcd. I use the gcc compiler and got a good compile (changed out the __delay_cycles() ) except for an "invalid use of void"
Here is the code snip
// Update the button press count, and toggle LEDs, when the button is pressed
#ifdef __MSP430__
interrupt (PORT1_VECTOR) PORT_1 (void) {
#else
#pragma vector=PORT1_VECTOR
__interrupt void PORT1_ISR(void) {
#endif
buttonPresses++;
P1OUT ^= BIT0;
P1OUT ^= BIT6;
P1IFG = 0; // clear interrupt
__bic_SR_register_on_exit(LPM4_EXIT);
}
I don't see the problem?
BTW, using the #ifdef in the code is really nice for portability.
SOLVED - It seems msp430gcc doesn't like LPM4_EXIT some googling showed it should be LPM4_bits - interesting.