Untitled
|
|
- しげじろう くまじ
- 5 years ago
- Views:
Transcription
1 AtTiny85 (TS119-5 ) Ver Aug.2016 S.S 9 5 CPU EE-PROM TS119-5(7 +α ) #include <EEPROM.h> #define KEYIN 2 #define BUZZER 3 #define LED 5 #define stsound #define stsound #define stsound #define BEEP_TIME 400 #define TIC_TIME 30 #define COOL (90 ) #define COOL #define COOL #define COOL #define COOL5 0 3 #define COOL Optional Timers #define COOL7 0 0 #define COOL8 0 0 #define COOL9 0 0 const byte pin_cs = 2; PB2 const byte pin_wr = 1; PB1 const byte pin_data = 0; PB0 /* UNO const byte pin_cs = 10; const byte pin_wr = 9; const byte pin_data = 8; */ const byte sys_en = B ;
2 const byte rc_ocl = B ; const byte bis_cm = B ; 1/3 bias 4 commons const byte lcd_on = B ; ( ) const byte seg_tbl[43] = 0xaf,0xa0,0xcb,0xe9,0xe4,0x6d,0x6f,0xa8,0xef,0xed 0-9 0b , 0 0b , 1 0b , 2 0b , 3 0b , 4 0b , 5 0b , 6 0b , 7 0b , 8 0b , 9 0b , : 0b , ; 0b , -(<) 0b , = 0b , > 0b ,? 0b , A 0b , B 0b , C 0b , D 0b , E 0b , F 0b , G 0b , H 0b , I 0b , J 0b , K 0b , L 0b , M 0b , N 0b , O 0b , P 0b , Q 0b , R 0b , S 0b , T 0b , U 0b , V 0b , W 0b , X
3 0b , Y 0b , Z ; bit4 r0="1"( ),r1="::",r2="h",r3= ( ),r4=,r5="*"( ),r6=", ",r7="," #define i_colon 1 #define i_clunt 3 #define i_edit 5 * #define i_wait 4 #define SEG_CHR 0x10 #define SEG_SP 0 int timer[9] = (9 ) COOL1, COOL2, COOL3, COOL4, COOL5, COOL6, COOL7, COOL8, COOL9 ; int work_timer[9] = (9 ) COOL1, COOL2, COOL3, COOL4, COOL5, COOL6, COOL7, COOL8, COOL9 ; char lcd_buffer[] = " WELCOME" " " 0xef,0xef,0xef,0xef,0xef,0xef,0xef,0xef,0x0d,0x0a " " ; #define SETTING 0 #define STOPPING 1 #define COUNTING 2 #define WAITING 3 int modef = STOPPING; char edit_mm[2]; char edit_ss[2]; #define S_TIMER 0 #define MM10 1 #define SS10 2 int edit_ptr = 0; (0: 1: 2: ) #define POS_PTR 0 #define POS_MODE 1 #define POS_TIMER 2 #define POS_DUMMY 3 #define POS_MM 4 #define POS_SS 6 int tsel = 0; #define btnright 0
4 #define btnup 1 #define btndown 2 #define btnleft 3 #define btnselect 4 #define btnnone 5 int adc_key_in = 1000; int key_code = btnnone; int last_key_code = btnnone; /****** TS119-5 *******/ void Bgn_ht() pinmode(pin_cs, OUTPUT); pinmode(pin_wr, OUTPUT); pinmode(pin_data, OUTPUT); digitalwrite(pin_cs, HIGH); digitalwrite(pin_wr, HIGH); digitalwrite(pin_data, HIGH); Wrt_cmd(sys_en); Wrt_cmd(rc_ocl); Wrt_cmd(bis_cm); Wrt_cmd(lcd_on); void Dsp_cr() for (byte i = 0; i < 8; i++) Dsp_dt(i, 0); --- LCD ASCII ('0'-'Z') ( 4bit 8bit ) void Dsp_chr(byte adr, byte data) data = seg_tbl[(data - 0x30)]; Dsp_dt(adr, data);
5 --- LCD ( 4bit 8bit ) void Dsp_dt(byte adrs, byte data) if ( adrs == 1 ) data = data SEG_CHR; byte data_u = data >> 4; byte data_l = data & 0x0f; adrs = adrs * 2; digitalwrite(pin_cs, LOW); 4bit Wrt_bit(B101, 3); Write mode 101 Wrt_bit(adrs, 6); Wrt_bit(data_l, 4); digitalwrite(pin_cs, HIGH); digitalwrite(pin_cs, LOW); 4bit Wrt_bit(B101, 3); Write mode 101 Wrt_bit(adrs + 1, 6); Wrt_bit(data_u, 4); digitalwrite(pin_cs, HIGH); void Wrt_cmd(byte cmd) digitalwrite(pin_cs, LOW); Wrt_bit(B100, 3); Command mode 100 Wrt_bit(cmd, 8); Wrt_bit(0, 1); digitalwrite(pin_cs, HIGH); ---bit --- void Wrt_bit(byte data, byte cnt) while (cnt) digitalwrite(pin_wr, LOW); byte val = (data & (1 << (cnt - 1)))? HIGH : LOW; digitalwrite(pin_data, val); digitalwrite(pin_wr, HIGH); cnt--;
6 /*************************************/ EE-PROM void write_settings() for (int i = 0; i <= 9; i++) EEPROM.write(i, timer[i]); EE-PROM void read_settings() for (int i = 0; i <= 9; i++) timer[i] = EEPROM.read(i); LCD void disp_ln( void ) Dsp_cr(); Dsp_dt( 1, SEG_SP SEG_CHR ); for ( int i = 0; i < 8; i++ ) Dsp_chr( i, lcd_buffer[i] ); /*Dsp_chr( 4, lcd_buffer[4] ); Dsp_chr( 5, lcd_buffer[5] ); Dsp_chr( 6, lcd_buffer[6] ); Dsp_chr( 7, lcd_buffer[7] ); delay( 1000); # ( ) ( ) ( ) ( )*/ 1 void incr_tsel ( void ) tsel++; if ( tsel > 8 ) tsel = 0; lcd_buffer[pos_timer] = tsel + 1;
7 1 void decr_tsel ( void ) tsel--; if ( tsel < 0 ) tsel = 8; lcd_buffer[pos_timer] = tsel + 1; 1 void incr_timer( int d ) timer[tsel] = timer[tsel] + d; if ( timer[tsel] > 6000 ) timer[tsel] = timer[tsel] - d; 1 void decr_timer ( int d ) timer[tsel] = timer[tsel] - d; if ( timer[tsel] < 0 ) timer[tsel] = timer[tsel] + d; (E) void set_mode( void ) tsel = 0; edit_ptr = S_TIMER; set_disp( timer ); LCD void set_disp( int* t ) int m, s; m = t[tsel] / 60; s = t[tsel] % 60; (LCD ) sprintf( &lcd_buffer[pos_timer], "%1d", tsel + 1 ); sprintf( &lcd_buffer[pos_mm], "%02d", m );
8 sprintf( &lcd_buffer[pos_ss], "%02d", s ); lcd_buffer[pos_dummy] = '<'; if ( modef == STOPPING ) lcd_buffer[pos_mode] = '<'; if ( modef == COUNTING ) lcd_buffer[pos_mode] = 'C'; if ( modef == WAITING ) lcd_buffer[pos_mode] = 'W'; if ( modef == SETTING ) lcd_buffer[pos_mode] = 'E'; if ( edit_ptr == S_TIMER ) lcd_buffer[pos_ptr] = 'T'; [T]= else if ( edit_ptr == MM10 ) lcd_buffer[pos_ptr] = 'M'; [M]= else if ( edit_ptr == SS10 ) lcd_buffer[pos_ptr] = 'S'; [S]= Serial.println( lcd_buffer ); else Dsp_dt( 0, SEG_SP ); void start_timer ( void ) for ( int i = 0; i < 9; i++ ) work_timer[i] = timer[i]; tsel = 0; 2 int read_key() int c; c = read_buttons(); delay( 30 ); if ( c == read_buttons() ) return c; else return btnnone;
9 int read_buttons() int btn; adc_key_in = analogread(keyin); read the value from the sensor if (adc_key_in < 50) return btnright; else if (adc_key_in < 200) return btnup; else if (adc_key_in < 400) return btndown; else if (adc_key_in < 600) return btnleft; else if (adc_key_in < 790) return btnselect; /* else if (adc_key_in < 195) return btnup; else if (adc_key_in < 380) return btndown; else if (adc_key_in < 555) return btnleft; else if (adc_key_in < 790) return btnselect; */ else return btnnone; when all others fail, return this. void beep() for ( int i = 0; i < 1000; i++ ) digitalwrite(buzzer, HIGH); delaymicroseconds(beep_time); digitalwrite(buzzer, LOW); delaymicroseconds(beep_time); void tictac() for ( int i = 0; i < 100; i++ ) digitalwrite(buzzer, HIGH); digitalwrite(led, HIGH); delaymicroseconds(tic_time); digitalwrite(buzzer, LOW); digitalwrite(led, LOW); delaymicroseconds(tic_time);
10 /************ ************************/ void setup() Serial.begin(9600); pinmode( BUZZER, OUTPUT ); Bgn_ht(); modef = STOPPING; MsTimer2::set( 10, disp_ln ); MsTimer2::start(); Dsp_cr(); disp_ln(); delay( 3000 ); read_settings(); LED EE-PROM /************ ************************/ void loop() disp_ln(); if ( modef!= STOPPING ) Serial.println( modef ); key_code = read_key(); if ( last_key_code!= key_code ) last_key_code = key_code; Serial.println( key_code ); /* */ switch (key_code) case btnselect: MODE if ( modef == COUNTING ) modef = STOPPING; stop_timer(); else if ( modef == STOPPING ) modef = COUNTING; start_timer(); else if ( modef == SETTING ) modef = WAITING;
11 break; case btnleft: SEL if ( modef == SETTING ) edit_ptr++; if ( edit_ptr > SS10 ) edit_ptr = S_TIMER; break; case btnup: UP if ( modef == SETTING ) if ( edit_ptr == S_TIMER ) incr_tsel(); else if ( edit_ptr == MM10 ) incr_timer( 60 ); 1 else if ( edit_ptr == MM0 ) incr_timer( 60 ); 1 else if ( edit_ptr == SS10 ) incr_timer( 1 ); 10 else if ( edit_ptr == SS0 ) incr_timer( 1 ); 1 break; case btndown: if ( modef == SETTING ) if ( edit_ptr == S_TIMER ) decr_tsel(); else if ( edit_ptr == MM10 ) decr_timer( 60 ); 1 else if ( edit_ptr == MM0 ) decr_timer( 60 ); 1 else if ( edit_ptr == SS10 ) decr_timer( 1 ); 10 else if ( edit_ptr == SS0 ) decr_timer( 1 ); 1 break; case btnright: (Enter) if ( modef == STOPPING ) modef = SETTING; set_mode(); else if ( modef == COUNTING ) modef = STOPPING; else if ( modef == WAITING ) EE-PROM write_settings(); modef = STOPPING; break; case btnnone:
12 break; delay( 30 ); if ( modef == COUNTING ) if ( timer[tsel]!= 0 ) tictac(); if ( work_timer[ tsel ] == 0 ) beep(); work_timer[tsel] = timer[tsel]; tsel++; if ( tsel >= 9 ) tsel = 0; else work_timer[ tsel ]--; 1 set_disp( work_timer ); else tsel++; if ( tsel >= 9 ) tsel = 0; delay( 990 ); else set_disp( timer ); delay( 100 ); (1 )
Microsoft Word - SU1204教本(Driver)原稿.docx
void setup(){ pinmode(13, OUTPUT); //13 void loop(){ digitalwrite(13, HIGH); //13 HIGH delay(500); digitalwrite(13, LOW); //13 LOW delay(500); setup pinmode loop delay C M B void setup(){ pinmode(12,output);
More informationMicrosoft Word - SU1202教本(Disp)原稿.docx
void setup(){ pinmode(9, OUTPUT); void loop(){ digitalwrite(9, HIGH); digitalwrite9,high 9 制限抵抗 A K P 型 N 型 基板 ( 土台 ) + P 型半導体 - N 型半導体 1.2 R(Ω) 1.8 20m 3V digitalwrite(13,high); digitalwrite(13,low);
More informationMicrosoft Word - SU1203教本(Sens)原稿.docx
int valsw; // void setup(){ pinmode(13, OUTPUT); pinmode(a4, INPUT_PULLUP); //13 //A4 } void loop(){ valsw = digitalread(a4); if(valsw == 0){ //A4 valsw //valsw } digitalwrite(13, HIGH); //valsw 0LED ------(A)
More informationArduino UNO IS Report No. Report Medical Information System Laboratory
Arduino UNO 2015 2 25 IS Report No. Report Medical Information System Laboratory Abstract ( ) Arduino / Arduino Bluetooth Bluetooth : Arduino Arduino UNO Arduino IDE micro computer LED 1............................
More informationINDEX 1 必要なものを準備しよう 各部の名称を確認しよう 電源を入れよう スイッチで LED を光らせよう BiZduino で Wi-Fi 通信しよう RTC を使ってみよう 参考資料 7 困ったら... 21
INDEX 1 必要なものを準備しよう... 1 2 各部の名称を確認しよう... 2 3 電源を入れよう... 3 4 スイッチで LED を光らせよう... 4 5 BiZduino で Wi-Fi 通信しよう... 8 6 RTC を使ってみよう... 17 参考資料 7 困ったら... 21 8 基板レイアウト図... 22 9 改訂履歴... 23 1 必要なものを準備しよう まずは BiZduino
More informationslide
// Filename: Example701.ino(AllTest.ino) // Author: Akinori TSuji #include "FastLED.h" #include "SparkFunBME280.h" #include "RTClib.h" #include "LiquidCrystal_I2C.h" #define LED_PIN 13 #define DATA_PIN
More information講習会 Arduino
講習会 Arduino 6 回目 タイマー ( 時間の関数 ) 目的 時間に関する関数を覚え プログラムの制御に使う タイマー割込みを知る 制御をするときにセンサー等の外部入力以外にも時間で制御したい時があるかもしれない 例えば一定の間隔をあけてから制御したい場合や制御してからある時間以内ではこの制御 過ぎてからはこの制御をしたいなど 時間に関する関数を紹介する 時間による割り込みを入れることにより正確な計測を行うことができる
More informationJava演習(4) -- 変数と型 --
50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends
More informationI ASCII ( ) NUL 16 DLE SP P p 1 SOH 17 DC1! 1 A Q a q STX 2 18 DC2 " 2 B R b
I 4 003 4 30 1 ASCII ( ) 0 17 0 NUL 16 DLE SP 0 @ P 3 48 64 80 96 11 p 1 SOH 17 DC1! 1 A Q a 33 49 65 81 97 113 q STX 18 DC " B R b 34 50 66 8 98 114 r 3 ETX 19 DC3 # 3 C S c 35 51 67 83 99 115 s 4 EOT
More informationPowerPoint Presentation
マイコンシステム 第 12 回 青森大学ソフトウェア情報学部 橋本恭能 haship@aomori-u.ac.jp 目次 講義 内部設計 3 Deviceタブ Actionタブの関数実装 例題 定義した機能を実現する方法を検討する 課題 動作確認 2 講義 内部設計 3 残りの関数を実装 3 組込みシステム開発 週テーマ内容 7 キッチンタイマーの組立キッチンタイマーのハードを製作 確認 8 9 10
More informationFor_Beginners_CAPL.indd
CAPL Vector Japan Co., Ltd. 目次 1 CAPL 03 2 CAPL 03 3 CAPL 03 4 CAPL 04 4.1 CAPL 4.2 CAPL 4.3 07 5 CAPL 08 5.1 CANoe 5.2 CANalyzer 6 CAPL 10 7 CAPL 11 7.1 CAPL 7.2 CAPL 7.3 CAPL 7.4 CAPL 16 7.5 18 8 CAPL
More informationスライド 1
マイコンをはじめよう 割り込みを使おう 徳島大学大学院ソシオテクノサイエンス研究部 技術専門職員辻明典 連絡先 : 770-8506 徳島市南常三島町 2-1 TEL/FAX: 088-656-7485 E-mail::a-tsuji@is.tokushima-u.ac.jp 割り込みを使おう 第 8 回 2013/9/14(Sat) 10:00 11:30 2 本日の予定 1 割り込みについて 2
More informationESP8266-CORE-R Copyrig
ESP8266-CORE-R1 http://www.microfan.jp/ https://store.shopping.yahoo.co.jp/microfan/ https://www.amazon.co.jp/s?merchant=a28nhprkjdc95b 2018 3 Copyright c 2017-2018 MicroFan, All Rights Reserved. i 1 ESP8266-CORE-R1
More information‚æ4›ñ
( ) ( ) ( ) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 (OUS) 9 26 1 / 28 ( ) ( ) ( ) A B C D Z a b c d z 0 1 2 9 (OUS) 9
More informationCM1-GTX
CM1-GTX000-2002 R R i R ii 1-1 1-2 1-3 Process Variables Process Variables Pressure Output Analog Output Sensor Temp. Lower Range Value (0%) Upper Range Value (100%) Pressure Pressure Chart Pressure
More informationGR-SAKURA-SAのサンプルソフト説明
フルカラーシリアル LED テープ (1m) を GR-KURUMI で使ってみる 2014/2/25 がじぇっとるねさす鈴木 Rev. 1.00 フルカラーシリアル LED の特徴 http://www.switch-science.com/catalog/1399/ 3570 円 1m で 60 個の LED がついている 電源と信号線 1 本で制御する x 24 この信号を 24 個送信して
More informationPowerPoint Presentation
p.130 p.198 p.208 2 double weight[num]; double min, max; min = max = weight[0]; for( i= 1; i i < NUM; i++ ) ) if if ( weight[i] > max ) max = weight[i]: if if ( weight[i] < min ) min = weight[i]: weight
More informationthesis.dvi
H8 e041220 2009 2 Copyright c 2009 by Kentarou Nagashima c 2009 Kentarou Nagashima All rights reserved , H8.,,,..,.,., AKI-H8/3052LAN. OS. OS H8 Write Turbo. H8 C, Cygwin.,., windows. UDP., (TA7279P).,.
More information1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() 2 double *a[ ]; double 1 malloc() dou
1 1.1 C 2 1 double a[ ][ ]; 1 3x3 0 1 3x3 ( ) 0.240 0.143 0.339 0.191 0.341 0.477 0.412 0.003 0.921 1.2 malloc() 2 double *a[ ]; double 1 malloc() double 1 malloc() free() 3 #include #include
More informationCM-3G 周辺モジュール拡張技術文書 MS5607センサ(温度、気圧)
CM-3G 周辺モジュール拡張技術文書 MS5607 センサ ( 温度 気圧 ) ( 第 1 版 ) Copyright (C)2016 株式会社コンピューテックス 目次 1. はじめに... 1 2. MS5607 について... 1 3. 接続図... 1 4. アプリケーション ソース... 2 5. アプリケーションのコンパイル方法... 7 6. アプリケーションの実行... 8 1. はじめに
More information:30 12:00 I. I VI II. III. IV. a d V. VI
2018 2018 08 02 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF N N y N x N xy yx : yxxyxy N N x, y N (parse tree) (1) yxyyx (2) xyxyxy (3) yxxyxyy (4) yxxxyxxy N y N x N yx
More information[ 1] 1 Hello World!! 1 #include <s t d i o. h> 2 3 int main ( ) { 4 5 p r i n t f ( H e l l o World!! \ n ) ; 6 7 return 0 ; 8 } 1:
005 9 7 1 1.1 1 Hello World!! 5 p r i n t f ( H e l l o World!! \ n ) ; 7 return 0 ; 8 } 1: 1 [ ] Hello World!! from Akita National College of Technology. 1 : 5 p r i n t f ( H e l l o World!! \ n ) ;
More informationI. Backus-Naur BNF : N N 0 N N N N N N 0, 1 BNF N N 0 11 (parse tree) 11 (1) (2) (3) (4) II. 0(0 101)* (
2016 2016 07 28 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF : 11011 N N 0 N N 11 1001 N N N N 0, 1 BNF N N 0 11 (parse tree) 11 (1) 1100100 (2) 1111011 (3) 1110010 (4) 1001011
More informationSystemC言語概論
SystemC CPU S/W 2004/01/29 4 SystemC 1 SystemC 2.0.1 CPU S/W 3 ISS SystemC Co-Simulation 2004/01/29 4 SystemC 2 ISS SystemC Co-Simulation GenericCPU_Base ( ) GenericCPU_ISS GenericCPU_Prog GenericCPU_CoSim
More informationGR-SAKURA-SAのサンプルソフト説明
MA11 IFTTT ハンズオン体験まとめ GR-SAKURA から 30 分で動く! 簡単メール送信できる IFTTT( イフト ) を使って見よう 2015/8/19 がじぇっとるねさす鈴木 Rev. 1.00 IFTTT( イフト ) って何? IF THIS THEN THAT IFTTT( イフト ) とは レシピ と呼ばれる個人作成もしくは公に共有しているプロフィールを使って数あ る Web
More informationC言語によるアルゴリズムとデータ構造
Algorithms and Data Structures in C 4 algorithm List - /* */ #include List - int main(void) { int a, b, c; int max; /* */ Ÿ 3Ÿ 2Ÿ 3 printf(""); printf(""); printf(""); scanf("%d", &a); scanf("%d",
More informationC による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 新装版 1 刷発行時のものです.
C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/009383 このサンプルページの内容は, 新装版 1 刷発行時のものです. i 2 22 2 13 ( ) 2 (1) ANSI (2) 2 (3) Web http://www.morikita.co.jp/books/mid/009383
More information:30 12:00 I. I VI II. III. IV. a d V. VI
2017 2017 08 03 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF X [ S ] a S S ; X X X, S [, a, ], ; BNF X (parse tree) (1) [a;a] (2) [[a]] (3) [a;[a]] (4) [[a];a] : [a] X 2 222222
More informationjoho07-1.ppt
0xbffffc5c 0xbffffc60 xxxxxxxx xxxxxxxx 00001010 00000000 00000000 00000000 01100011 00000000 00000000 00000000 xxxxxxxx x y 2 func1 func2 double func1(double y) { y = y + 5.0; return y; } double func2(double*
More informationPC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU
1. 1.1. 1.2. 1 PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 2. 2.1. 2 1 2 C a b N: PC BC c 3C ac b 3 4 a F7 b Y c 6 5 a ctrl+f5) 4 2.2. main 2.3. main 2.4. 3 4 5 6 7 printf printf
More informationESP32-KEY-KIT-R1 (ESP-WROOM-32 ) Copyright c 2
ESP32-KEY-KIT-R1 (ESP-WROOM-32 ) http://www.microfan.jp/ http://store.shopping.yahoo.co.jp/microfan/ http://www.microfan.jp/shop/ 2017 4 Copyright c 2017 MicroFan, All Rights Reserved. i 1 ESP32-KEY-KIT-R1
More informationJAXA key
! 芸術衛星INVADERのフライトモデル I A 2 8 7 IC J 6 R 22 I 7 6 C 9 I 9 9 J 7R 2 R 9 6 8 I 7 8 7 2 I22 7 8 2 J C I R 2 8 7 J 8 2 R C J C 9 6 I 2 6 7 2 8 8 6 I C 7 I C 9 C 9 J 7 C R 2 8 7 I I 9 6 8 2 R J 8 7 C
More informationI. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) + x * x + x x (4) * *
2015 2015 07 30 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) +
More informationFreeBSD 1
FreeBSD 1 UNIX OS 1 ( ) open, close, read, write, ioctl (cdevsw) OS DMA 2 (8 ) (24 ) 256 open/close/read/write Ioctl 3 2 2 I/O I/O CPU 4 open/close/read/write open, read, write open/close read/write /dev
More information1 1 TA, ,9 1. ( 2. TM TM GUI TM 1. P7-13 TM Notepad, Meadow, ( P109 ). 2. (shisaku01/sys test)
1 1 TA, 20 10 6,9 1. (http://www.cyb.mei.titech.ac.jp/2008ss2/main.htm) 2. TM TM GUI TM 1. P7-13 TM Notepad, Meadow, ( P109 ). 2. (shisaku01/sys test) H src c startup ncrt0 ss2.a30 sect30 ss2.inc 1 1 /
More information2CH DC (PU-2709) DC DC Arduino 製作に必要な部品などを表にまとめてみましょう 用意するもの 型番など 必要数 メモ Arduino Arduino UNO R3 1 パルスを作るマイコンボード 28BYJ-48 1 ACアダプター DC5V 1 DCジャック
2CHDC(PU-2709)DC DC180 1 Arduino 製作に必要な部品などを表にまとめてみましょう 用意するもの 型番など 必要数 メモ Arduino Arduino UNO R3 1 パルスを作るマイコンボード 28BYJ-48 1 ACアダプター DC5V 1 DCジャック AC 1 基板 ブレッドボード 1 ユニバーサル基板などで作ってもOK WindowsMachintoshOK
More informationinst.c
1#include 2#include 3#include // 乱乱乱乱 PC 内ののの規規に従っっ 疑疑乱乱を発発ささの 4#include // 現現の時時を秒乱で返す乱乱 5 6#define DATA BIT0 // DATA P2.0 7#define CLOCK BIT1 // CLOCK P2.1
More information表 示 制 御 16 文 字 2 行 の 表 示 が 可 能 ですが, 内 部 アドレスと LCD 画 面 とは 連 続 したアドレスに 配 置 されていませ ん. +00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0A +0B +0C +0D +0E +0F +40
LCD(SC1602)4ビットモード 接 続 Sunlike 社 製 SC1602を 制 御 してみます. 今 回 は 結 線 数 を 節 約 して,マイコンとは6 本 のポートを 使 って 接 続 します. 接 続 の 概 要 LCDを4ビットモードで 制 御 LCDとマイコンの 接 続 は6 本 DB4~DB7:4ビットモードデータバス RS :レジスタセレクト (コマンド/データ) E :イネーブル
More informationuntitled
II 4 Yacc Lex 2005 : 0 1 Yacc 20 Lex 1 20 traverse 1 %% 2 [0-9]+ { yylval.val = atoi((char*)yytext); return NUM; 3 "+" { return + ; 4 "*" { return * ; 5 "-" { return - ; 6 "/" { return / ; 7 [ \t] { /*
More informationdouble float
2015 3 13 1 2 2 3 2.1.......................... 3 2.2............................. 3 3 4 3.1............................... 4 3.2 double float......................... 5 3.3 main.......................
More information1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() malloc 2 #include <stdio.h> #include
1 1.1 C 2 1 double a[ ][ ]; 1 3x3 0 1 3x3 ( ) 0.240 0.143 0.339 0.191 0.341 0.477 0.412 0.003 0.921 1.2 malloc() malloc 2 #include #include #include enum LENGTH = 10 ; int
More information/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v
1 http://www7.bpe.es.osaka-u.ac.jp/~kota/classes/jse.html kota@fbs.osaka-u.ac.jp /* do-while */ #include #include int main(void) double val1, val2, arith_mean, geo_mean; printf( \n );
More informationuntitled
II yacc 005 : 1, 1 1 1 %{ int lineno=0; 3 int wordno=0; 4 int charno=0; 5 6 %} 7 8 %% 9 [ \t]+ { charno+=strlen(yytext); } 10 "\n" { lineno++; charno++; } 11 [^ \t\n]+ { wordno++; charno+=strlen(yytext);}
More information2008 DS T050049
DS T050049. PSP DS DS DS RPG DS OS Windows XP DevkiPro OS DS CPU ARM devkitarm MSYS MinGW MSYS MinGW Unix OS C++ C++ make nds nds DS DS micro SD Card nds DS DS DS nds C Java C++ nds nds DS 2008 DS T050049
More information13 I/O
13 I/O 98-0997-3 14 2 7 Linux OS OS OS I/O I/O TS-I/O I/O I/O TS-I/O TS-I/O 3 1 7 2 9 2.1..................... 9 2.2.................. 10 2.3 2...................... 12 2.4 Linux................... 14
More informationA/B (2010/10/08) Ver kurino/2010/soft/soft.html A/B
A/B (2010/10/08) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2010/soft/soft.html 2010 10 8 A/B 1 2010 10 8 2 1 1 1.1 OHP.................................... 1 1.2.......................................
More informationJava updated
Java 2003.07.14 updated 3 1 Java 5 1.1 Java................................. 5 1.2 Java..................................... 5 1.3 Java................................ 6 1.3.1 Java.......................
More information卒 業 研 究 報 告.PDF
C 13 2 9 1 1-1. 1-2. 2 2-1. 2-2. 2-3. 2-4. 3 3-1. 3-2. 3-3. 3-4. 3-5. 3-5-1. 3-5-2. 3-6. 3-6-1. 3-6-2. 4 5 6 7-1 - 1 1 1-1. 1-2. ++ Lisp Pascal Java Purl HTML Windows - 2-2 2 2-1. 1972 D.M. (Dennis M Ritchie)
More informationPBASIC 2.5 PBASIC 2.5 $PBASIC directive PIN type New DEBUG control characters DEBUGIN Line continuation for comma-delimited lists IF THEN ELSE * SELEC
PBASIC 2.5 PBASIC 2.5 BASIC Stamp Editor / Development System Version 2.0 Beta Release 2 2.0 PBASIC BASIC StampR PBASIC PBASIC PBASIC 2.5 Parallax, Inc. PBASIC 2.5 PBASIC 2.5 support@microbot-ed.com 1
More informationarduino プログラミング課題集 ( Ver /06/01 ) arduino と各種ボードを組み合わせ 制御するためのプログラミングを学 ぼう! 1 入出力ポートの設定と利用方法 (1) 制御( コントロール ) する とは 外部装置( ペリフェラル ) が必要とする信号をマイ
arduino プログラミング課題集 ( Ver.5.0 2017/06/01 ) arduino と各種ボードを組み合わせ 制御するためのプログラミングを学 ぼう! 1 入出力ポートの設定と利用方法 (1) 制御( コントロール ) する とは 外部装置( ペリフェラル ) が必要とする信号をマイコンから伝える 外部装置の状態をマイコンで確認する 信号の授受は 入出力ポート 経由で行う (2) 入出力ポートとは?
More informationSystemC 2.0を用いた簡易CPUバスモデルの設計
SystemC 2.0 CPU CPU CTD&SW CT-PF 2002/1/23 1 CPU BCA UTF GenericCPU IO (sc_main) 2002/1/23 2 CPU CPU CQ 1997 11 Page 207 4 Perl Verilog-HDL CPU / Verilog-HDL SystemC 2.0 (asm) ROM (test.hex) 2002/1/23
More informationline(x1, y1, x2, y2); (x1, y1) rect(x, y, width, height); (x, y) (x1, y1) (x2, y2) height width (x2, y2) ellipse(x, y, width, height); rectmode(corners); rect(x1, y1, x2, y2); (x,y) width height strokeweight(4);
More informationmain01a.dvi
Tutorial1A Tutorial1A TA 23 10 13 1. 1A 2 H8/36064 Vstone (VS-WRC003 TA RAM ROM 1B ROM (http://www.ac.ctrl.titech.ac.jp/ss2 2011/index.html 2. H8 High-performance Embedded Workshop (HEW HTerm ROM Flash
More informationArduino Processing and ) Fig1. Arduino Homepage : h;p://www.arduino.cc/
Arduino Horiuchi* Oguri* Ueda* Tani* Eto* Arduino Processing and ) Fig1. Arduino Homepage : h;p://www.arduino.cc/ : Arduino Java Fig2. Arduino SoGware Download : h;p://arduino.cc/en/main/sogware Hardware
More informationやさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF
pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) 3 5 14 18 21 23 23 24 28 29 29 31 32 34 35 35 36 38 40 44 44 45 46 49 49 50 pref : 2004/6/5 (11:8) 50 51 52 54 55 56 57 58 59 60 61
More informationPowerPoint プレゼンテーション
磁気コンパスの試作 ~ データ送信の無線化 ~ 液晶表示 電源 5V 位 ICSP PICKit3 PIC:16F1827 液晶表示器 ACM1602NI-FLW-FBW-M01 液晶表示器 AQM0802A-RN-GBW PIC16F1827 完成版 変更点 :2015.1.23 2015.1.30 倒立振子デモ 2015.1.22 倒立振子, グラフィッデモ 2014.12.18 グラフィックデモ
More informationII ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D
II 8 2003 11 12 1 6 ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 Daisuke 8 =>. 73 Daisuke 35 Hiroshi 64 Ichiro 87 Junko
More informationmain.dvi
20 II 7. 1 409, 3255 e-mail: namba@faculty.chiba-u.jp 2 1 1 1 4 2 203 2 1 1 1 5 503 1 3 1 2 2 Web http://www.icsd2.tj.chiba-u.jp/~namba/lecture/ 1 2 1 5 501 1,, \,", 2000 7. : 1 1 CPU CPU 1 Intel Pentium
More information£Ã¥×¥í¥°¥é¥ß¥ó¥°ÆþÌç (2018) - Â裵²ó ¨¡ À©¸æ¹½Â¤¡§¾ò·ïʬ´ô ¨¡
(2018) 2018 5 17 0 0 if switch if if ( ) if ( 0) if ( ) if ( 0) if ( ) (0) if ( 0) if ( ) (0) ( ) ; if else if ( ) 1 else 2 if else ( 0) 1 if ( ) 1 else 2 if else ( 0) 1 if ( ) 1 else 2 (0) 2 if else
More information(search: ) [1] ( ) 2 (linear search) (sequential search) 1
2005 11 14 1 1.1 2 1.2 (search:) [1] () 2 (linear search) (sequential search) 1 2.1 2.1.1 List 2-1(p.37) 1 1 13 n
More information8 if switch for while do while 2
(Basic Theory of Information Processing) ( ) if for while break continue 1 8 if switch for while do while 2 8.1 if (p.52) 8.1.1 if 1 if ( ) 2; 3 1 true 2 3 false 2 3 3 8.1.2 if-else (p.54) if ( ) 1; else
More information81 /******************************************************************************/ 82 /* スレーブアドレスの設定 */ 83 /*****************************************
1 /******************************************************************************/ 2 /* IIC(Inter IC Bus) の制御 */ 3 /******************************************************************************/ 4 /*
More informationvoid hash1_init(int *array) int i; for (i = 0; i < HASHSIZE; i++) array[i] = EMPTY; /* i EMPTY */ void hash1_insert(int *array, int n) if (n < 0 n >=
II 14 2018 7 26 : : proen@mm.ics.saitama-u.ac.jp 14,, 8 2 12:00 1 O(1) n O(n) O(log n) O(1) 32 : 1G int 4 250 M 2.5 int 21 2 0 100 0 100 #include #define HASHSIZE 100 /* */ #define NOTFOUND 0
More informationMathematica で Arduino を利用する (2012 年度 ) はじめに情報工学部では全学科で Arduino を導入して フィジカルコンピューティングに関連した教育を行ってきている 電子情報工学科ではいくつかの実験演習を通じて Arduino を取り入れてきている ここでは 電子情報
Mathematica で Arduino を利用する (2012 年度 ) はじめに情報工学部では全学科で Arduino を導入して フィジカルコンピューティングに関連した教育を行ってきている 電子情報工学科ではいくつかの実験演習を通じて Arduino を取り入れてきている ここでは 電子情報工学実験 I の Mathematica のテーマで Arduino を利用した実習をすることを考えた
More informationBIT -2-
2004.3.31 10 11 12-1- BIT -2- -3-256 258 932 524 585 -4- -5- A B A B AB A B A B C AB A B AB AB AB AB -6- -7- A B -8- -9- -10- mm -11- fax -12- -13- -14- -15- s58.10.1 1255 4.2 30.10-16- -17- -18- -19-6.12.10
More information講習会 Arduino
講習会 Arduino 10 回目 シリアル ( パソコンに表示 ) 目的 シリアル通信を利用して Arduino の処理によって生まれた数値をパソコンに表示する Arduino で作ったタイマーを Processing を利用して表示する シリアル通信とは 電気通信において伝送路上を一度に 1 ビットずつ 逐次的にデータを送ることをいう また コンピュータにおいては バス上を一度に 1 ビットずつ
More information1 142
7 1 2 3 4 5 6 7 8 1 142 PhoenixBIOS Setup Utility MainSystem DevicesSecurityPowerOthersBootExit System Time: [XX:XX:XX] Item Specific Help System Date: [XX/XX/XXXX] Floppy Drive: 1.44MB, 3 1 / 2" Hard
More informationslide5.pptx
ソフトウェア工学入門 第 5 回コマンド作成 1 head コマンド作成 1 早速ですが 次のプログラムを head.c という名前で作成してください #include #include static void do_head(file *f, long nlines); int main(int argc, char *argv[]) { if (argc!=
More informationprogram.dvi
2001.06.19 1 programming semi ver.1.0 2001.06.19 1 GA SA 2 A 2.1 valuename = value value name = valuename # ; Fig. 1 #-----GA parameter popsize = 200 mutation rate = 0.01 crossover rate = 1.0 generation
More informationSpeC記述のC記述への変換 (SpecCによるソフトウェア記述の実装記述への変換)
シングルタスク プログラミング 本田晋也名古屋大学大学院情報科学研究科准教授 TOPPERSプロジェクトシニアテクニカルエキスパート honda@ertl.jp 最終更新 2016/6/27 1 自己紹介 所属 名古屋大学情報科学研究科組込みリアルタイムシステム研究室 TOPPERSプロジェクト TOPPERS/R2CA 設計 開発 メンテ 最近注力している内容 TOPPERS/ASP GR-PEACH
More informationCondition DAQ condition condition 2 3 XML key value
Condition DAQ condition 2009 6 10 2009 7 2 2009 7 3 2010 8 3 1 2 2 condition 2 3 XML key value 3 4 4 4.1............................. 5 4.2...................... 5 5 6 6 Makefile 7 7 9 7.1 Condition.h.............................
More informationK227 Java 2
1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html
More informationex12.dvi
1 0. C, char., char, 0,. C, ("),., char str[]="abc" ; str abc.,, str 4. str 3. char str[10]="abc" ;, str 10, str 3., char s[]="abc", t[10] ;, t = s. ASCII, 0x00 0x7F, char., "abc" 3, 1. 1 8 256, 2., 2
More informationA/B (2018/06/08) Ver kurino/2018/soft/soft.html A/B
A/B (2018/06/08) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 6 8 A/B 1 2018 6 8 2 1 1 1.1 OHP.................................... 1 1.2
More informationmbed_library_study_meeting_v1.0.key
mbed _mbed 2014 11 7 https://atnd.org/events/57766 version 1.0, 07-Nov.-2014 Tedd OKANO mbed - - 4.0 (^^; 1 mbed TEDD OKANO https://twitter.com/tedd_okano 10 I 2 C http://developer.mbed.org/users/okano/
More information( ) 1 1: 1 #include <s t d i o. h> 2 #include <GL/ g l u t. h> 3 #include <math. h> 4 #include <s t d l i b. h> 5 #include <time. h>
2007 12 5 1 2 2.1 ( ) 1 1: 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 #define H WIN 400 // 8 #define W WIN 300 // 9
More informationChapter JDK KeyListener keypressed(keyevent e ) keyreleased(keyevent e ) keytyped(keyevent e ) MouseListener mouseclicked(mouseeven
Chapter 11. 11.1. JDK1.1 11.2. KeyListener keypressed(keyevent e ) keyreleased(keyevent e ) keytyped(keyevent e ) MouseListener mouseclicked(mouseevent e ) mousepressed(mouseevent e ) mousereleased(mouseevent
More informationMicrosoft Word - C.....u.K...doc
C uwêííôöðöõ Ð C ÔÖÐÖÕ ÐÊÉÌÊ C ÔÖÐÖÕÊ C ÔÖÐÖÕÊ Ç Ê Æ ~ if eíè ~ for ÒÑÒ ÌÆÊÉÉÊ ~ switch ÉeÍÈ ~ while ÒÑÒ ÊÍÍÔÖÐÖÕÊ ~ 1 C ÔÖÐÖÕ ÐÊÉÌÊ uê~ ÏÒÏÑ Ð ÓÏÖ CUI Ô ÑÊ ÏÒÏÑ ÔÖÐÖÕÎ d ÈÍÉÇÊ ÆÒ Ö ÒÐÑÒ ÊÔÎÏÖÎ d ÉÇÍÊ
More information3. スイッチ設定 ( 表 3) モジュール SW4 SW5 C1 OFF 下 (GND) C2 OFF 下 (GND) C3 OFF 下 (GND) C4 OFF 下 (GND) C5 OFF 上 (R/-W) C6 ON 下 (GND) 使用するモジュールに応じて, スイッチを切り換えて下さい.
キャラクタ LCD を制御 (C 言語 ) 対象 :16 文字 2 行 (SC1602BS*B) 20 文字 4 行 (SC2004CS*B) 表 1 接続 (Bit) キャラジェネ (CGRAM) 点滅 (BLINK) BUSY フラグ LCD 電源 (ON/OFF) (BF) SC1602_C1 SC2004_C1 8 x x x x SC1602_C2 SC2004_C2 4 x x x x
More informationMicrosoft PowerPoint - C言語の復習(配布用).ppt [互換モード]
if 文 (a と b の大きい方を表示 ) C 言語 Ⅰ の復習 条件判定 (if, 条件式 ) ループ (for[ 二重まで ], while, do) 配列 ( 次元 次元 ) トレース int a, b; printf( 整数 a: ); scanf( %d, &a); printf( 整数 b: ); scanf( %d, &b); //つのif 文で表現する場合間違えやすい どっちに =
More information( ) ( ) 30 ( ) 27 [1] p LIFO(last in first out, ) (push) (pup) 1
() 2006 2 27 1 10 23 () 30 () 27 [1] p.97252 7 2 2.1 2.1.1 1 LIFO(last in first out, ) (push) (pup) 1 1: 2.1.2 1 List 4-1(p.100) stack[] stack top 1 2 (push) (pop) 1 2 void stack push(double val) val stack
More informationC¥×¥í¥°¥é¥ß¥ó¥° ÆþÌç
C (3) if else switch AND && OR (NOT)! 1 BMI BMI BMI = 10 4 [kg]) ( [cm]) 2 bmi1.c Input your height[cm]: 173.2 Enter Input your weight[kg]: 60.3 Enter Your BMI is 20.1. 10 4 = 10000.0 1 BMI BMI BMI = 10
More informationKeyListener init addkeylistener addactionlistener addkeylistener addkeylistener( this ); this.addkeylistener( this ); KeyListener public void keytyped
KeyListener keypressed(keyevent e) keyreleased(keyevent e) keytyped(keyevent e) MouseListener mouseclicked(mouseevent e) mousepressed(mouseevent e) mousereleased(mouseevent e) mouseentered(mouseevent e)
More informationQuartus II ハンドブック Volume 5、セクションIV. マルチプロセッサの調整
IV. SOPC Builder Nios II 9 Avalon Mutex 10 Avalon Mailbox 9 10 / 9 v5.1.0 2005 5 v5.0.0 Nios II 2004 12 v1.0 10 v5.1.0 2005 5 v5.0.0 Altera Corporation IV 1 Quartus II Volume 5 IV 2 Altera Corporation
More information図 1 で示すように割り込み作業に対応していない間は CPU が他の作業を行えま す 割り込みが発生した時に作業中の仕事を一時停止し 割り込みハンドラに 入ってタスクを実行します 割り込み作業が終わった後停止した作業を再開し ます 割り込み対応コードが停止したプロセスに影響ありますので なるべく 最
EduCake: 割り込みとイベント 1. 割り込みやイベント紹介 前の章では 86Duino Educake と外部周辺機器 ( デジタル IO アナログ入出力 センサ モータ等 ) のインターフェイスについて話しました 本章では反応が良く効率的なアプリケーションの開発に重要な割り込みとイベントについて話します 以前に digitalread/write() analogread/write()
More informationプログラミング基礎
C プログラミング Ⅰ 条件分岐 if~else if~else 文,switch 文 条件分岐 if~else if~else 文 if~else if~else 文 複数の条件で処理を分ける if~else if~else 文の書式 if( 条件式 1){ 文 1-1; 文 1-2; else if( 条件式 2){ 文 2-1; 文 2-2; else { 文 3-1; 文 3-2; 真条件式
More information新・明解Java入門
537,... 224,... 224,... 32, 35,... 188, 216, 312 -... 38 -... 38 --... 102 --... 103 -=... 111 -classpath... 379 '... 106, 474!... 57, 97!=... 56 "... 14, 476 %... 38 %=... 111 &... 240, 247 &&... 66,
More informationDA100データアクイジションユニット通信インタフェースユーザーズマニュアル
Instruction Manual Disk No. RE01 6th Edition: November 1999 (YK) All Rights Reserved, Copyright 1996 Yokogawa Electric Corporation 801234567 9 ABCDEF 1 2 3 4 1 2 3 4 1 2 3 4 1 2
More informationMicrosoft Word - no15.docx
7. ファイルいままでは プログラムを実行したとき その結果を画面で確認していました 簡単なものならそれでもいいのですか 複雑な結果は画面で見るだけでなく ファイルに保存できればよいでしょう ここでは このファイルについて説明します 使う関数のプロトタイプは次のとおりです FILE *fopen(const char *filename, const char *mode); ファイルを読み書きできるようにする
More information1 発病のとき
A A 1944 19 60 A 1 A 20 40 2 A 4 A A 23 6 A A 13 10 100 2 2 360 A 19 2 5 A A A A A TS TS A A A 194823 6 A A 23 A 361 A 3 2 4 2 16 9 A 7 18 A A 16 4 16 3 362 A A 6 A 6 4 A A 363 A 1 A A 1 A A 364 A 1 A
More informationRX600 & RX200シリーズ アプリケーションノート RX用仮想EEPROM
R01AN0724JU0170 Rev.1.70 MCU EEPROM RX MCU 1 RX MCU EEPROM VEE VEE API MCU MCU API RX621 RX62N RX62T RX62G RX630 RX631 RX63N RX63T RX210 R01AN0724JU0170 Rev.1.70 Page 1 of 33 1.... 3 1.1... 3 1.2... 3
More informationprogrammingII2019-v01
II 2019 2Q A 6/11 6/18 6/25 7/2 7/9 7/16 7/23 B 6/12 6/19 6/24 7/3 7/10 7/17 7/24 x = 0 dv(t) dt = g Z t2 t 1 dv(t) dt dt = Z t2 t 1 gdt g v(t 2 ) = v(t 1 ) + g(t 2 t 1 ) v v(t) x g(t 2 t 1 ) t 1 t 2
More informationr07.dvi
19 7 ( ) 2019.4.20 1 1.1 (data structure ( (dynamic data structure 1 malloc C free C (garbage collection GC C GC(conservative GC 2 1.2 data next p 3 5 7 9 p 3 5 7 9 p 3 5 7 9 1 1: (single linked list 1
More information