?

Log in

No account? Create an account
April 13th, 2009 - Sarah's Blog — LiveJournal [entries|archive|friends|userinfo]
Sarah

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

April 13th, 2009

I didn't know that... [Apr. 13th, 2009|01:15 am]
Sarah
"Bravo!" is what you say in appreciation to a male opera singer.

"Brava!" is what you say in appreciation to a female opera singer.

"Bravi!" is what you say in appreciation to an opera duet.
linkpost comment

Real life terminator sounds like a mosquito. [Apr. 13th, 2009|01:28 am]
Sarah
This headless thing is creepy as hell.
Watch what happens at 35 seconds onwards... amazing! It falls right into the middle of the uncanny-valley, sets up a hammock and cracks open a beer.

link4 comments|post comment

BigDog Beta [Apr. 13th, 2009|09:30 am]
Sarah
Watch the BigDog video I posted before this one.#

link1 comment|post comment

ez430 Interrupt snags... [Apr. 13th, 2009|12:50 pm]
Sarah
If you compile the example programs for interrupt routines in Code Composer Essentials compiler, you may come across the error "unrecognized #pragma".

The reason is, the header files for this compiler have different vector definitions than the IAR Embedded Workbench program which also ships with the device. (IAR sucks for keeping the code size small).

To save you a bit of time hunting through the headers - here's the changes that are needed:

#include <msp430x20x3.h>

void main(void)
{
  WDTCTL = WDTPW + WDTHOLD;       // Stop WDT
  P1DIR |= 0x01;                  // P1.0 output
  CCTL0 = CCIE;                   // CCR0 interrupt enabled
  CCR0 = 50000;
  TACTL = TASSEL_2 + MC_2;        // SMCLK, contmode

  _BIS_SR(LPM0_bits + GIE);       // Enter LPM0 w/ interrupt
}

// Timer A0 interrupt service routine
UNREGOGNIZED PRAGMA
#pragma vector=TIMERA0_VECTOR  
__interrupt void Timer_A (void)
{
  P1OUT ^= 0x01;                  // Toggle P1.0
  CCR0 += 50000;                  // Add Offset to CCR0
}

--- --- --- --- --- --- --- --- --- 

#include <msp430x20x3.h>

void main(void)
	{
	WDTCTL = WDTPW + WDTHOLD;  
	P1DIR |= 0x01;
	CCTL0 = CCIE;
	CCR0 = 5000;
	TACTL = TASSEL_2 + MC_2;
	_BIS_SR(LPM0_bits + GIE); 
	}

__interrupt void Timer_A (void)
	{
	P1OUT ^= 0x01; 
	CCR0 += 5000; 
	}

TIMERA0_ISR(Timer_A)
linkpost comment

Arghhhhhhhhh... [Apr. 13th, 2009|02:36 pm]
Sarah


https://www.blogger.com/comment.g?blogID=8867171594439684896&postID=3639998845170501837
http://photoshopdisasters.blogspot.com/
link3 comments|post comment

Amazon blacklists all Gay and Lesbian books. [Apr. 13th, 2009|10:51 pm]
Sarah
http://tehdely.livejournal.com/88823.html
linkpost comment

navigation
[ viewing | April 13th, 2009 ]
[ go | Previous Day|Next Day ]