Electronic Components Datasheet Search
  English  ▼

X  

UM0715 Datasheet(PDF) 21 Page - STMicroelectronics

Part # UM0715
Description  SPC563MPrimerBasic
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0715 Datasheet(HTML) 21 Page - STMicroelectronics

Back Button UM0715 Datasheet HTML 16Page - STMicroelectronics UM0715 Datasheet HTML 17Page - STMicroelectronics UM0715 Datasheet HTML 18Page - STMicroelectronics UM0715 Datasheet HTML 19Page - STMicroelectronics UM0715 Datasheet HTML 20Page - STMicroelectronics UM0715 Datasheet HTML 21Page - STMicroelectronics UM0715 Datasheet HTML 22Page - STMicroelectronics UM0715 Datasheet HTML 23Page - STMicroelectronics UM0715 Datasheet HTML 24Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 21 / 24 page
background image
UM0715
Script examples
Doc ID 15798 Rev 2
21/24
7
Script examples
7.1
Hello world
The following example prints the string “Hello world” continually.
To execute this test, copy and paste the following code in a txt file and load it how already
described.
10 PRINT "Hello world"
20 GOTO 10
7.2
FOR cicle
The following example prints the even values of the variable A.
To execute this test, copy and paste the following code in a txt file and load it how already
described.
10 FOR A=0 TO 100 STEP 2
20 PRINT A
30 NEXT A
7.3
Leds blinking
The following example blinks the leds L1, L2 and L3 sequentially simulating a binary
counter. From one configuration and another is inserted a delay of 500ms.
To execute this test, copy and paste the following code in a txt file and load it how already
described.
10 GPIOI 190 2
15 GPIOI 191 2
20 GPIOI 193 2
30 GPIOH 190
40 GPIOH 193
45 GPIOH 191
48 DELAY 500000
50 GPIOL 190
60 GPIOH 193
70 GPIOH 191
80 DELAY 500000
90 GPIOH 190
100 GPIOL 193
110 GPIOH 191
120 DELAY 500000
130 GPIOL 190
140 GPIOL 193
150 GPIOH 191



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com