MSP430¶ÁдƬÄÚFLASH±£´æÊý¾Ý
±¾ÎÄÀ´×Ôhttp://blog.csdn.net/hellogv/ £¬ÒýÓñØÐë×¢Ã÷³ö´¦£¡
FLASHÐ͵ÄMSP430µ¥Æ¬»ú¶¼´øÓÐÐÅÏ¢´æ´¢Æ÷SegmengA¼°SegmentB,SegmengA¼°SegmentB¸÷ÓÐ128×Ö£¬SegmentBµÄµØÖ·ÊÇ£º0x01000hµ½0x107F£¬SegmentAµÄµØÖ·ÊÇ£º0x01080hµ½0x010FFh¡£³ÌÐò±»Ð´ÈëMSP430Ö®ºó£¬³ÌÐòͨ¹ýSegmengA¼°SegmentB¾Í¿ÉÒÔ±£´æ²»µôµçÊý¾Ý¡£×¢Ò⣺ÿ´Î³ÌÐòÉÕдµ½MSP430ʱ£¬SegmengA¼°SegmentB¶¼»á±»²Á³ý£¡
½ÓÏÂÀ´Ìù³ö±¾ÎĵijÌÐò´úÂ룬ÒÔ¼°³ÌÐòдÈëÐÅÏ¢´æ´¢Æ÷Ö®ºóµÄFLASHÊý¾Ý£º
#include <msp430xG43x.h>
void WriteSegment_256 (char index,char *value,char size);
char ReadSegment_256(char index);
void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
FCTL2 = FWKEY + FSSEL0 + FN0; // MCLK/2 for Flash Timing Generator
char str1[3]={0xAA,0xBB,0xCC};
WriteSegment_256(0,str1,3);
for(char i=0;i<255;i++)
_NOP();
char str2[3]={0xBB,0xAA,0xCC};
WriteSegment_256(0,str2,3);
}
#define SegmentStart 0x01000 //Segment = 0x01000~0x010FF
#define SegmentSize 255 //SegmentA + SegmentB = 256
//*********************************************************
//¶ÁȡƬÄÚ´æ´¢µÄÊý¾Ý
//*********************************************************
char ReadSegment_256(char index)
{
char *flash_ptr = ((char *) SegmentStart) + index;
return *flash_ptr;
}
// *****************************************************
//°ÑÊý×éдÈëÊý¾Ýµ½Æ¬ÄÚFLASH£¬±ØÐëÏÈÈ«²¿²Á³ýÔÙдÈë
//²ÎÊýindex:±£´æÊý×éµÄλÖÃ
//²ÎÊývalue:Êý×éµÄÖ¸Õë
//²ÎÊýsize:Êý×éµÄ´óС
// *****************************************************
void WriteSegment_256 (char index,char *value,char size)
{
char buffer[SegmentSize],i=0;
char *flash_ptr = (char *) SegmentStart;
//ÏȶÁÈ¡ÔFLASHÊý×é
for(i=0;i<SegmentSize;i++)
buffer[i]=ReadSegment_256(i);
//²Á³ýFLASH£¬±ØÐë
FCTL1 = FWKEY + ERASE; // Set Erase bit
FCTL3 = FWKEY; // Clear Lock bit
*f
Ïà¹ØÎĵµ£º
ÔÚPowerPoint»ÃµÆÆ¬ÖвåÈëFlash·½·¨Ò»
¡¡¡¡½«À©Õ¹ÃûΪ. SWFµÄFlash¶¯»Îļþ²åÈëPPT
¡¡¡¡---²åÈëÒ»¸öÓÉÎļþ´´½¨µÄ¶ÔÏó
¡¡¡¡---ÔÚ“¶¯×÷ÉèÖÔÖеē¶ÔÏó¶¯×÷”Ñ¡ÏîÖÐÑ¡Ôñ“¼¤»îÄÚÈÝ”
¡¡¡¡ÔÚPowerPoint»ÃµÆÆ¬ÖвåÈëFlash·½·¨¶þ
¡¡¡¡ÀûÓÃActive X¿Ø¼þ²åÈ붯»
¡¡¡¡---Ñ¡Ôñ“ÊÓͼ&rd ......
subject of application domain of flash and air.
ÔÚflash»òflexÖУ¬³ÌÐò¼ÓÔØÍⲿswfÎļþ£¬¸ÃÎļþµÄ³ÌÐòÓòĬÈÏΪÖ÷³Ì ÐòÓòµÄÒ»¸ö×ÓÓòÖС£±ÈÈçÄãʹÓÃA.swf¼ÓÔØB.swfÎļþ£¬B±»¼ÓÔØºó£¬³ÉΪA³ÌÐòÓòµÄÒ»¸ö×ÓÓò£¬×ÓÓòÊÇÉêÃ÷ÀàµÄʱ£¬²»Äܸ²¸Ç¸¸ÀàÒÑÉêÃ÷ÀࣺÈç¹ûAÖж¨ ÒåÁËÀàcom.sogou.MapÀ࣬ͬʱBÖÐÒ²¶¨ÒåÁËcom.sogou.MapÀ࣬µ ......
ÅäºÏ½¹µãͼflashʹÓã¬ÔÀ´ÊÇÈ¡µÃ×îеÄͼƬÎÄÕ£¬È»ºó°ÑÏà¹ØÐÅÏ¢×÷Ϊ²ÎÊý´«µÝ¸øflash²¥·Å¡£
focus.asp´úÂëÈçÏ£º
<!--#Include File="conn.asp" -->
<!--#Include File="include/inc.asp"-->
<%
'Ê×Ò³½¹µãÒ³Ãæ
'by winston
'2010/05/15
Dim QueryArray
Dim FocusLinks,FocusP ......
ÕýÏÒº¯ÊýºÍÓàÏÒº¯ÊýÒѾºÜÊìϤÁ˰ɣ¿Õâ¸öÖÐѧʱ´ú¾³£Ê¹ÓõÄÒ»ÖÖÈý½Çº¯Êý¡£ÏÖÔÚÎÒÃÇͨ¹ýÒ»¸öapi ½áºÏ´´ÔìÕâÖÖÇúÏß
¡£ÎÒÃÇÌṩy=a*sin(b*x);Õâ¸öÇúÏßÄ£ÐÍ
a ΪÕñ·ù£¬bΪÇ󲨳¤Ê¹ÓõIJÎÊý£¬²¨³¤Ç󷨣º360/|b|=²¨³¤
Á˽âÕâ¸ö¹«Ê½ºó£¬½ÓÏÂÀ´£¬ÎÒÃÇÐèÒª´´½¨Ò»ÌõÕýÏÒÇúÏßͼ°¸£¬×¼±¸Ò»¸öÕñ·ùµÄ²ÎÊý£¬Ò»¸öÇ󲨳¤µÄ²ÎÊý£ ......
AÐÇËã·¨£¬flash ÑÝʾ°æ
package
{
import flash.display.Sprite;
import flash.events.MouseEvent;
[SWF(width="550",height="550",backgroundColor="#999999")]
public class astart extends Sprite
{
// ³£Êý¶¨Òå
private static const size:int = 50;
private var points:Array = new Array ......