MDK-ARM Keil, MDK-ARM Datasheet - Page 88

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
88
Using JavaScript
JavaScript is a C like scripting language stored on a web
server and downloaded on demand to a client browser.
The client interprets and executes the script on its host
processor, be this a PC, MAC, or smartphone. JavaScript
allows you to develop sophisticated multi-platform user
interfaces. In this section, we will look at adding a
JavaScript library that draws a graph. First, we need a
suitable JavaScript application. A graph drawing
application can be downloaded from
www.codeproject.com/jscript/dhtml_graph.asp. This
object consists of two files, a JavaScript source file, and a
gif. Add them to a web server application. The
file content is:
index.htm, graph.htm, dot.gif, graph.js
The three graph files (
command line. The HTML file
<script language="JavaScript">
</script>
var bg = new Graph (10);
bg.parent = document.getElementById ('here');
bg.title = 'Annual average temperature by month';
bg.xCaption = 'Month';
bg.yCaption = 'Temperature';
bg.xValues [0] = [10, 'Jan'];
bg.xValues [1] = [15, 'Feb'];
bg.xValues [2] = [17, 'March'];
bg.xValues [3] = [20, 'April'];
bg.xValues [4] = [22, 'May'];
bg.xValues [5] = [30, 'June'];
bg.xValues [6] = [33, 'July'];
bg.xValues [7] = [27, 'Aug'];
bg.xValues [8] = [20, 'Sept'];
bg.xValues [9] = [18, 'Oct'];
bg.xValues [10] = [15, 'Nov'];
bg.xValues [11] = [9, 'Dec'];
bg.showLine = true;
bg.showBar = true;
bg.orientation = 'horizontal';
bg.draw ();
graph.htm
,
graph.htm
dot.gif
, and
invokes the graph object.
graph.js
to
web.inp
Web.c
) are also added to the
Chapter 4. RL-TCPnet Introduction
// or = 'vertical';
nopr
root
Web
web.inp

Related parts for MDK-ARM