...Creating a Program that Blinks the LEDs on the Board 1- Create a new project and copy and paste the following code in the main.c file of your project. //*************************************************************************************** // MSP430 Blink the LED Demo - Software Toggle P1.0 // // Description; Toggle P1.0 by xor'ing P1.0 inside of a software loop. // ACLK = n/a, MCLK = SMCLK = default DCO // // MSP430x5xx // ----------------- // /|\| XIN|- // | | | // --|RST XOUT|- // | | // | P1.0|-->LED // // J. Stevenson // Texas Instruments, Inc // July 2011 // Built with Code Composer Studio v5 //*************************************************************************************** #include <msp430.h> int main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer P1DIR |= 0x01; // Set P1.0 to output direction for (;;) { volatile unsigned int i; // volatile to prevent optimization P1OUT ^= 0x01; // Toggle P1.0 using exclusive-OR i = 10000; // SW Delay do i--; while (i != 0); } } 2- Google the “for” and “while” loops in C++ and describe how they work here. We will use them very often in programming. Answer: * For loop is used like an infinite loop...
Words: 803 - Pages: 4
...been a few injuries, chronic fatigue and potential burnout. I decided to step back this year while training for the marathon by preventing myself in falling in the same pattern again. Often times, the best barometer of feedback is not in watts, heart data or fancy graphs. Some of the best feedback comes from our gut instincts. Finding the joy in training and being opening up to being more flexible in our regimen is just as important as all the hard interval work or getting in the volume. This said, I decided to listen to my inner voice which said, “I think I need to rest more today.” That inner voice often sent me an SOS signal calling for either a brief physical or mental break. The best advice that I can give to you as a runner is to speak to yourself as if you were your own best friend. What would you say to a good friend if she or he felt pressure to so something on plan, but knew deep inside what they really needed? What would you say to your friend if he or she said that she was really, really tired and not up for doing something you had planned together? You’d probably say that “it’s okay – we’ll get it in another time.” The best runners, who perform well consistently, often follow a structured training plan. However, they also have learned the art of listening to that inner voice and allowed for flexibility within their plan. As a runner, you need to understand and trust that it’s OK to back off. Listening to that inner voice and allowing for that flexibility...
Words: 367 - Pages: 2
...had been working with Flanagan for just over a month. She knew she had to kill the DailyDilly initiative but was reluctant to do it with the reps present. “Let’s discuss this off-line,” she said. Will slapped the table. “Come on,” he demanded. “We’re here now.” The DailyDilly reps became wide-eyed. Allie took a deep breath. If Will was going to push her, she’d be blunt. “No, then,” Allie said. “It’s not on.” Will pushed his chair back and walked out of the room. The reps started to review their presentation, but Allie stopped them with a wave of her hand. Ruth, no longer smiling, told them all she was sorry and stood up to escort everyone out. Allie knew she had just made some enemies. Half an hour later, Ruth stopped her in the corridor. “So you’re still not convinced?” “Roddy asked me to weigh in on DailyDilly for a reason,” Allie said. Roddy...
Words: 3455 - Pages: 14
...aroma. "So where did you meet?" I asked my friend Patrick as he put down his coffee cup. "In the Faculty Center in UP." "Again? How come you meet a lot of guys there? I'm always there and nothing ever happens." Patrick pointed to his face and smiled. "Che!" I replied laughing. But I knew that it was true. Patrick was not really that good looking, but he had this sexy air about him. And he had fair skin which is, for most Filipinos, a prerequisite for beauty. I looked at the mirror behind him and saw my dark, emaciated reflection. "So anyway, I was washing my face in the ground floor washroom when this comes this really cute guy. I've seen him on campus a few times before. So anyway, he goes and takes a leak," Patrick paused. "You know those FC urinals, right?" I nodded. "No partitions." Patrick took another sip from his cup and continued. "So anyway, this guy sees me checking him out. To my surprise, he turns to me, giving me full view of him in all his glory and smiles. I smile back. And," Patrick took a deep breath, "the rest is for me alone to know." He ended by dabbing the sides of his napkin to his mouth. I knew pressing Patrick for more details would shut him up just like that so I let it pass. I could wheedle out all the details later. "So what's his name?" "Carlo." I raised an eyebrow and gave Patrick my you've-got-to-be-kidding look. He laughed and nodded in agreement. "Yes it's another Carlo. It's always Carlo, or Paolo, or Mike, or Jay--" "So what name...
Words: 1385 - Pages: 6
...Computer Shopper By Tyrai Parker Computer Structure And Logic Dr.Mohamed Desktops & Note Books | Size & Resolution & Price | Hard Disk Capacities | RAM | Processor Speeds | Apple iMac | 27’in 2560-by-1440 resolution$1999 | 1TB1TB (7200-rpm) hard driveConfigurable to 3TB hard drive, 1TB or 3TB Fusion Drive, or 256GB, 512GB, or 1TB of flash storage. | 8GB (two 4GB) of 1600MHz DDR3 memory; four user-accessible SO-DIMM slotsConfigurable to 16GB or 32GB. | 3.4GHz3.4GHz quad-core Intel Core i5 processor (Turbo Boost up to 3.8GHz) with 6MB L3 cache | ENVY 15z-j100 Notebook | 15.6-inch diagonal HD BrightView LED-backlit Display (1366x768)$549 | 750GB 5400 rpm Hard Drive | 6GB DDR3 System Memory (2 Dimm) | 4th generation Intel® Core™ i5-4200M Processor | HP ENVY 17t-j100 Quad Edition Notebook PC | Screen size - 17.3-inch diagonal HD+ BrightView LED-backlit Display (1600 x 900)$899 | 1TB 5400 rpm Hard Drive | 8GB DDR3 System Memory (2 Dimm) | 4th generation Intel® Core™ i7-4700MQ Processor | Inspiron One 20" Non-Touch | (W) 19.95 in x (H) 12.72 in $449 | 500GB 7200RPM SATA 3.0Gb/s Hard Drive | 4GB Dual Channel DDR3 1600MHz - 1 DIMMs | Intel® Celeron® processor G1620T(2.4GHz, 2MB) | As being a lawyer I think should use Notebook because its personal they hold confidential information that nobody should know about his or her client. Things they might do on their notebook on a daily day to day basis is word processing, thought processing, spreadsheets, legal...
Words: 479 - Pages: 2
...(For Course participants only) Reading Material & Work Book On Effective Noting & Drafting (Edited by Smt. Jayanthi Sriram, Asst.Director) GOVERNMENT OF INDIA INSTITUTE SECRETARIAT TRAINING & MANAGEMENT DEPARTMENT OF PERSONNEL & TRAINING ADMINISTRATIVE BLOCK, JNU CAMPUS (OLD) OLOF PALMS MARG, NEW DELHI-110067 TEL. 26105592 TELEFAX: 26104183 Revised - 2005 FORWARD In responsive administration it is obvious that the response has to be meaningful. Yet, it may not be effective unless the response time is optimised. This twin objective can be achieved through streamlining of the decision making process itself. In the Central Secretariat, as in other spheres of Government, contribution by all rungs of employees particularly by those at the cutting edge level, namely the Section Officers and Assistants, generally helps arriving at the right decision. Besides collection of information, such contributions are rendered through Noting & Drafting. Effective noting & drafting at every level, therefore, is a matter of prime concern. 2. To address this concern, we in ISTM have been according utmost importance to the inclusion of 'noting and drafting' as a subject in all our foundational and refresher Courses. Besides, focussed workshops on effective noting & drafting are also organised in large numbers. To help participants team effectively, the need for practical exercises cannot be overemphasised. Similarly,...
Words: 16883 - Pages: 68
...Computer Shopper By Tyrai Parker Computer Structure And Logic Dr.Mohamed Desktops & Note Books | Size & Resolution & Price | Hard Disk Capacities | RAM | Processor Speeds | Apple iMac | 27’in 2560-by-1440 resolution$1999 | 1TB1TB (7200-rpm) hard driveConfigurable to 3TB hard drive, 1TB or 3TB Fusion Drive, or 256GB, 512GB, or 1TB of flash storage. | 8GB (two 4GB) of 1600MHz DDR3 memory; four user-accessible SO-DIMM slotsConfigurable to 16GB or 32GB. | 3.4GHz3.4GHz quad-core Intel Core i5 processor (Turbo Boost up to 3.8GHz) with 6MB L3 cache | ENVY 15z-j100 Notebook | 15.6-inch diagonal HD BrightView LED-backlit Display (1366x768)$549 | 750GB 5400 rpm Hard Drive | 6GB DDR3 System Memory (2 Dimm) | 4th generation Intel® Core™ i5-4200M Processor | HP ENVY 17t-j100 Quad Edition Notebook PC | Screen size - 17.3-inch diagonal HD+ BrightView LED-backlit Display (1600 x 900)$899 | 1TB 5400 rpm Hard Drive | 8GB DDR3 System Memory (2 Dimm) | 4th generation Intel® Core™ i7-4700MQ Processor | Inspiron One 20" Non-Touch | (W) 19.95 in x (H) 12.72 in $449 | 500GB 7200RPM SATA 3.0Gb/s Hard Drive | 4GB Dual Channel DDR3 1600MHz - 1 DIMMs | Intel® Celeron® processor G1620T(2.4GHz, 2MB) | As being a lawyer I think should use Notebook because its personal they hold confidential information that nobody should know about his or her client. Things they might do on their notebook on a daily day to day basis is word processing, thought processing, spreadsheets, legal...
Words: 479 - Pages: 2
...make sure we are ready for anything that comes through the doors. As the morning went on, things were nice and quiet. Yes, I said it "Quiet". The word quiet is never to spoken out loud or even a thought in the ER. As soon as I sighed, it went off like a bomb the radio began to blare. Collier Blvd Medic 00 coming in with a male four month old unresponsive, in respiratory distress!!!!!!! I respond to the radio medic00 room 6 on arrival. In that moment everything changes. It was like slow motion but really you’re moving as fast and as efficiently as possible. We call respiratory, set up the room, get our equipment and then wait. It feels like an eternity until they arrive. Your mind wondering what happen to the child, and how long ago. So many things flood your mind at once. You can’t loose focus of what the facts are and what you are dealing with. The ambulance pulls in, the doors swing open medics are attending to the...
Words: 557 - Pages: 3
...Reflection on the Film “Tuesdays with Morrie” The first time I watched Tuesdays with Morrie back then last semester, my usual nonchalant and stone-hearted self broke down in tears. I couldn’t explain why, but I just involuntarily cried. Perhaps it was just pent-up emotion. But on a deeper level, I knew the reason: I could relate to so many things in the film. When I saw it for the third time in our Philosophy class, I tried to view it on a slightly more analytical and less affected manner (even though I couldn’t stop sudden hidden bursts of emotion) since I knew there were topics discussed by Morrie to Mitch which were covered by our discussions in Philosophy of the Human Person I. The last lessons taught by Morrie dealt with the fundamental yet often misunderstood or even feared things in life. One interesting thing in his discussions with Mitch was the line he repeatedly said: “If you know how to die, you’ll know how to live.” At first, it seemed to me as though it were contradictory to the phenomenological way of describing things – for how can one ever know how to die if he hasn’t experienced it yet? But after some reflection, I thought that perhaps Morrie, by saying “know how to die” meant that if we know that all our possibilities will end in the great even that death is (“know[ing] how to die”), we will strive to do our best daily – as if it were our last, as if we could hear that “bird on our shoulder.” I also liked Morrie’s emphasis on the...
Words: 351 - Pages: 2
...either direction, had very different headings. As I drew near the wall of files, the first to catch my attention was one that read "Girls I Have Liked." I opened it and began flipping through the cards. I quickly shut it, shocked to realize that I recognized the names written on each one. And then without being told, I knew exactly where I was. This seemingly lifeless room with its small files was a crude catalog system for my life. Here were written the actions of my every moment, big and small, in a detail my memory couldn't match. A sense of wonder and curiosity, coupled with horror, stirred within me as I began randomly opening files and exploring their content. Some brought joy and sweet memories; others a sense of shame and regret so intense that I would look over my shoulder to see if anyone was watching. A file named "Friends" was next to one marked "Friends I Have Betrayed." The titles ranged from the mundane to the outright weird. "Books I Have Read," "Lies I Have Told," "Comfort I Have Given," "Jokes I Have Laughed At." Some were almost hilarious in their exactness: "Things I've Yelled at My Brothers." Others I couldn't laugh at: "Things I Have Done in My Anger," "Things I Have Muttered Under My Breath at My Parents." I never ceased to be surprised by the contents. Often there were many more cards than I expected. Sometimes fewer than I hoped. I was overwhelmed by the sheer volume of the life I had lived. Could it be possible that I had the time in my 20 years to...
Words: 1121 - Pages: 5
...This is one of the reasons why recovering was so hard for him. In the novel, there were many characters that gave Conrad confidence which, in turn, helped him heal. When Conrad was at the library, the woman in the parking lot said to Conrad, “You're very good-looking. But I'm sure you already know that" (134). After he goes home, he looks in the mirror and acknowledges his good features and admits that the woman is right. This filled Conrad with a little bit of much-needed confidence. Another character that gave Conrad confidence is Jeannine. When Jeannine revealed her imperfect home life to Conrad, he hugged her and let her cry. “He has never felt so strong, so needed” (200). Jeannine gave Conrad a reason to live because he felt needed and he also felt like he wasn’t the only one with problems. Even slight things give Conrad a sense of confirmation that he was normal. An example of this is when the policeman told Conrad that he shouldn’t be out so late because there is too many nuts in the world. “Too many nuts. Meaning you aren’t one of them. [...] You’re all right kid. Ordinary” (216). Conrad was glad that others didn’t see him as crazy and felt reassured that he was...
Words: 972 - Pages: 4
...In the book, Boo Radley does things that helps the children but by the time they can say thank you he is gone. He does not ask for any thanks or things in return. In that sense, he is humble. Jem and Scout rarely see Boo though in the book, yet he does so many things without being seen by the kids in the neighborhood. For example, Boo finds Jem’s pants after Jem climbs on the Radley’s fence and it gets stuck. After Jem came back later that night, he found his pants all straightened, resown, and folded up right where he had left them. When Jem saw this, he was confused. Jem took his pants but didn’t see anybody around him to thank or ask. Arthur does these nice little acts throughout the book which he still keeps him out of...
Words: 714 - Pages: 3
...H. Merckelbach, M.A. Van den hout and I. Lavy “Preparedness, Prepotency and Fear Acquisition. On this paper I think that even though the tests were done with control and everything, examining such field requires so much more data. Even thou they measuring this is almost impossible, they missed out a lot of data and missed out a lot of testing material. The scream test could had been different in some areas, for example, different age groups, involving kids. Not only involving screams, but sounds with the same amount of decibel to see if the reaction comes by a distinguish sound or decibel level. On the other hand, the experiment does show and interesting point, and that is how the different levels affect on different situations. How in some cases one can affect, but be totally numb on the other situation. The experiment that I liked the most was the monkey experiment, as it shows nature in its raw content, even though us humans are animals, we are contaminated by so many things that it almost feels like we are not part of nature anymore. As if our raw content was removed decades ago and we molded ourselves to a new being, separate from the others. Monkeys on the other hand, showed something great, in the experiment you can see that nature is so unpredictable, even in the most controllable scenarios, things don’t usually go as planned. There a thin line between what can be thought and what come in by nature, instinct or genetics. Scientist didn't fail at the monkey experiment...
Words: 388 - Pages: 2
...I feel like I went though several of the stages of culture shock while I’m a college freshman. The honey moon stage is great. This was right when I got there. I thought everything was so new and promising. I didn’t be missing at home because I was doing so many new and exciting things. I was very busy making new friends and of couse traveling. I have some old friends in some other college, we often gathered to make a small talk and went for a walk in campus and observed other students who older than me some reading books, some chatting with friends, some play guitar together…. At that time I told myself ‘ oh my god student life is so interesting, lively. This is a true life, definitely different from my life before the time I only knew study and study. Let’s live and enjoy your life’. I was curious about culture and cuisine there. Therefore I and my best friend traveled around ha noi. I really like old quarter, a rich food culture most famous dishes, such as phở, chả cá, cốm, bánh cuốn, nem trộn, trà chanh, nem vuông, café giang… ‘life is so wonderful there are so many things I haven’t knew’- I thought that. It was a very exciting time and maybe it lasted for about 1 month. Then the hostility stage hit. I think that the turning point was when I decided to sign up the advanced business program. This period was a hard time to me. As you know this program required a certain level of english skills and at that time my english skill was very bad. And I still remember the first period...
Words: 303 - Pages: 2
...10 ...so you don’t have to. by: tara ‘missrogue’ hunt things I’ve done wrong who am I and why I’m qualified to talk about this stuff: • co-founder + CEO Buyosphere.com • been raising $$ for >1yr • raised $200k F&F • believed the hype • lived in SF for 4yrs • made a crapload of mistakes already • serial entrepreneur (but first startup) 1. focused on the ‘big picture’ too much the original* pitch deck *since 2008 when I put this deck together, I’ve done 75+ versions... “The hard part is to figure out the fewest possible features that could possibly accomplish your company’s goals.” Eric Ries The advantages of Minimum Viable Product (MVP) 1.test your assumptions 2.minimal wasted time/energy 3.iterative based on real customer needs The trouble with Minimum Viable Product (MVP) 1.it has to be viable 2.it has to be viable 3.it has to be viable key: build something your customers can use. what we did wrong: kept focusing on (our idea of) the final product and building minimum components of it rather than thinking about what our customers could really use. we were wandering lost in the sea of aimless builds with no data and no reason unfortunately, it took us a year and $200k to figure this out. fortunately, we’ve figured it out. 3 ways to figure out MVP 1. Think about the problem you want to solve and ask yourself: “Could I accomplish this on an email list?” Try it. On an email list. OR think about how people solve it currently...
Words: 1529 - Pages: 7