<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-06-21T06:39:09+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types/short?rev=1708041851&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/short?rev=1708041910&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes?rev=1358857076&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types?rev=1708040897&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextshort?rev=1365581695&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/numberwith?rev=1708042345&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/initwith?rev=1708042346&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fwrite?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/datatypes?rev=1515738546&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c?rev=1515738547&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/signed?rev=1708041911&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/analog_io/analogreference?rev=1360951441&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/limits.h/ushrt_max?rev=1359929150&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/unsigned?rev=1708041910&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/limits.h/shrt_max?rev=1359928859&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/constants/constants?rev=1360957754&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/short?rev=1708041960&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/limits.h/shrt_min?rev=1359928909&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/control_structures/switch?rev=1365602129&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/arduino/data_types/short?rev=1708041851&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:11+02:00</dc:date>
        <title>short</title>
        <link>https://code-reference.com/arduino/data_types/short?rev=1708041851&amp;do=diff</link>
        <description>Description

A short is a 16-bit data-type. 

On all Arduinos (ATMega and ARM based) a short stores a 16-bit (2-byte) value. This yields a range of -32,768 to 32,767 (minimum value of -2^15 and a maximum value of (2^15) - 1). 


Example
  [=short ledPin = 13;=]
Syntax
  [=short var = val;=]
*var - your short variable name
*val - the value you assign to that variable</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/short?rev=1708041910&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:10+02:00</dc:date>
        <title>short</title>
        <link>https://code-reference.com/c/datatypes/short?rev=1708041910&amp;do=diff</link>
        <description>short
  short
  2 Byte
  signed: -32768 - 32767
  unsigned: 0 - 65535
  
C Sourcecode Example

 
#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

 
int main(void)
{
  printf(&quot;short: %d bytes\n&quot;, sizeof(short) );
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes?rev=1358857076&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-22T13:17:56+02:00</dc:date>
        <title>datatypes Overview</title>
        <link>https://code-reference.com/c/datatypes?rev=1358857076&amp;do=diff</link>
        <description>datatypes Overview
 Name                 Description              auto auto  auto auto  bool bool  char char  const const  const const  double double  float float  int int  int8 int8  int8 int8  int8_t int8_t  int8_t int8_t  int16 int16  int16 int16  int16_t int16_t  int16_t int16_t  int32 int32  int32 int32  int32_t int32_t  int32_t int32_t  int64 int64  int64 int64  int64_t int64_t  int64_t int64_t  intmax_t intmax_t  intmax_t intmax_t  intptr_t intptr_t  intptr_t intptr_t  int_fast8_t int_fas…</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/data_types?rev=1708040897&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:17+02:00</dc:date>
        <title>data types Overview</title>
        <link>https://code-reference.com/arduino/data_types?rev=1708040897&amp;do=diff</link>
        <description>data types Overview
 Name                 Description              array array  booleanvariables booleanvariables  byte byte  char char  double double  float float  int int  long long  short short  string string  stringobject stringobject  unsignedchar unsignedchar  unsignedint unsignedint  unsignedlong unsignedlong  void void  word word 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/java/util/scanner/nextshort?rev=1365581695&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:14:55+02:00</dc:date>
        <title>nextShort()</title>
        <link>https://code-reference.com/java/util/scanner/nextshort?rev=1365581695&amp;do=diff</link>
        <description>public short nextShort()


return short scanned from the input

example nextShort() in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        short currency;
                
        System.out.print(&quot;Please enter a number: &quot;);
        currency = scan.nextShort(); // read keyboard buffer
   …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-22T02:30:47+02:00</dc:date>
        <title>Keywords in C 89/99</title>
        <link>https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff</link>
        <description>C89 Keywords

	*  auto
	*  break
	*  case
	*  char
	*  const
	*  continue
	*  default
	*  do
	*  double
	*  else
	*  enum
	*  extern
	*  float
	*  for
	*  goto
	*  if
	*  int
	*  long
	*  register
	*  return
	*  short
	*  signed
	*  sizeof
	*  static
	*  struct
	*  switch
	*  typedef
	*  union
	*  unsigned
	*  void
	*  volatile
	*  while</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/numberwith?rev=1708042345&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:25+02:00</dc:date>
        <title>numberWith</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/numberwith?rev=1708042345&amp;do=diff</link>
        <description>numberWith

    
+ (NSNumber *)numberWithChar:(char)value;
+ (NSNumber *)numberWithUnsignedChar:(unsigned char)value;
+ (NSNumber *)numberWithShort:(short)value;
+ (NSNumber *)numberWithUnsignedShort:(unsigned short)value;
+ (NSNumber *)numberWithInt:(int)value;
+ (NSNumber *)numberWithUnsignedInt:(unsigned int)value;
+ (NSNumber *)numberWithLong:(long)value;
+ (NSNumber *)numberWithUnsignedLong:(unsigned long)value;
+ (NSNumber *)numberWithLongLong:(long long)value;
+ (NSNumber *)numberWithUnsi…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fprintf</title>
        <link>https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff</link>
        <description>int fprintf(FILE *stream, const char *format, ...);


Converts (according to format format) and writes output to stream stream. Number of characters written, or negative value on error, is returned.



optional flag:



-  left adjust

+  always sign

0  zero pad

#  Alternate form: for conversion character o, first digit will be zero, for [xX], prefix 0x or 0X to non-zero value, for [eEfgG], always decimal point, for [gG] trailing zeros not removed. 



optional minimum width: if specified as *…</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/initwith?rev=1708042346&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:26+02:00</dc:date>
        <title>initWith</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/initwith?rev=1708042346&amp;do=diff</link>
        <description>- (id)initWithChar:(char)value;
- (id)initWithUnsignedChar:(unsigned char)value;
- (id)initWithShort:(short)value;
- (id)initWithUnsignedShort:(unsigned short)value;
- (id)initWithInt:(int)value;
- (id)initWithUnsignedInt:(unsigned int)value;
- (id)initWithLong:(long)value;
- (id)initWithUnsignedLong:(unsigned long)value;
- (id)initWithLongLong:(long long)value;
- (id)initWithUnsignedLongLong:(unsigned long long)value;
- (id)initWithFloat:(float)value;
- (id)initWithDouble:(double)value;
- (id)i…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fwrite?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>fwrite</title>
        <link>https://code-reference.com/c/stdio.h/fwrite?rev=1708041942&amp;do=diff</link>
        <description>size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);


The fwrite() function writes, from the array buffer, count objects of size size to stream. The return value is the number of objects written. 

C Sourcecode Example


/* 
 * fwrite example code
 * http://code-reference.com/c/stdio.h/fwrite 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


struct CD_COLLECTION {
  char album_name[42];
  int year;
  char arti…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>fread</title>
        <link>https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff</link>
        <description>fread


    size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);


fread reads num number of objects from a stream (where each object is size bytes) and places them into the array pointed to by buffer. 
The return value of the function is the number of read data</description>
    </item>
    <item rdf:about="https://code-reference.com/java/datatypes?rev=1515738546&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:06+02:00</dc:date>
        <title>Declaration Dataypes</title>
        <link>https://code-reference.com/java/datatypes?rev=1515738546&amp;do=diff</link>
        <description>package datatypes;

public class DataTypes {

    public static void main(String[] args) {
        // primitiv Datatypes
        
        boolean aa = true;     // 1 bit
        char bb = 'A';         // 2 Bytes
        char cc = 65;          // 2 Bytes
        byte dd = 12;          // 1 Byte -128 - +127
        short ee = 234;        // 2 Bytes -32768 - +32767
        int ff = 4711;         // 4 Bytes
        long gg = 34567;       // 8 Bytes
        float hh = 3.14f;      // 4 Bytes
        d…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>fscanf</title>
        <link>https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff</link>
        <description>fscanf


    int fscanf(FILE *stream, const char *format, ...);


Performs formatted input conversion, reading from stream stream according to format format. The function returns when format is fully processed. Returns number of items converted and assigned, or EOF if end-of-file or error occurs before any conversion. Each of the arguments following format must be a pointer. Format string may contain:</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c?rev=1515738547&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:07+02:00</dc:date>
        <title>objective-c</title>
        <link>https://code-reference.com/objective-c?rev=1515738547&amp;do=diff</link>
        <description>Objective-C, also called short-ObjC, extends the C programming language by means of object-oriented programming.


Please: only learn if you are gonna plan to make apple apps

we need some support to add the missing libraries</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/signed?rev=1708041911&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:11+02:00</dc:date>
        <title>signed</title>
        <link>https://code-reference.com/c/datatypes/signed?rev=1708041911&amp;do=diff</link>
        <description>signed


signed int i;           // 'signed' is default

signed char            -128 to 127
signed int             -32768 to 32767 (signed is default)
                       [or -2147483648 to 2147483647 if '-mnoshort' is given]
signed short int       -32768 to 32767
signed long int        -2147483648 to 2147483647</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/analog_io/analogreference?rev=1360951441&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-15T19:04:01+02:00</dc:date>
        <title>analogReference(type)</title>
        <link>https://code-reference.com/arduino/analog_io/analogreference?rev=1360951441&amp;do=diff</link>
        <description>Description

Configures the reference voltage used for analog input (i.e. the value used as the top of the input range).  The options are:

* DEFAULT: the default analog reference of 5 volts (on 5V Arduino boards) or 3.3 volts (on 3.3V Arduino boards)
* INTERNAL: an built-in reference, equal to 1.1 volts on the ATmega168 or ATmega328 and 2.56 volts on the ATmega8 (not available on the Arduino Mega)
* INTERNAL1V1: a built-in 1.1V reference (Arduino Mega only)
* INTERNAL2V56: a built-in 2.56V refe…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T15:58:12+02:00</dc:date>
        <title>switch</title>
        <link>https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff</link>
        <description>description

The switch statement is a multi-select control structure. An expression is evaluated once and compared to 'constants'. In case of equality, the 'statements' that come after the 'constant' are processed. In switch 'statements' can only ordinary data types (ie, 'int', 'long', char, short, etc.) can be used.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/limits.h/ushrt_max?rev=1359929150&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T23:05:50+02:00</dc:date>
        <title>USHRT_MAX</title>
        <link>https://code-reference.com/c/limits.h/ushrt_max?rev=1359929150&amp;do=diff</link>
        <description>USHRT_MAX


description of USHRT_MAX

max value of unsigned short (65.536)</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/unsigned?rev=1708041910&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:10+02:00</dc:date>
        <title>unsigned</title>
        <link>https://code-reference.com/c/datatypes/unsigned?rev=1708041910&amp;do=diff</link>
        <description>unsigned



unsigned char ch;
unsigned long int l;

unsigned char          0 to 255
unsigned int           0 to 65535
                       [or 0 to 4294967295 if '-mnoshort' is set]
unsigned short int     0 to 65535
unsigned long int      0 to 4294967295</description>
    </item>
    <item rdf:about="https://code-reference.com/c/limits.h/shrt_max?rev=1359928859&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T23:00:59+02:00</dc:date>
        <title>SHRT_MAX</title>
        <link>https://code-reference.com/c/limits.h/shrt_max?rev=1359928859&amp;do=diff</link>
        <description>SHRT_MAX


description of SHRT_MAX

SHRT_MAX max value of short (+32.767)</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/constants/constants?rev=1360957754&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-15T20:49:14+02:00</dc:date>
        <title>constants</title>
        <link>https://code-reference.com/arduino/constants/constants?rev=1360957754&amp;do=diff</link>
        <description>Constants are predefined variables in the Arduino language. They are used to make the programs easier to read. We classify constants in groups.

Defining Logical Levels, true and false (Boolean Constants)

There are two constants used to represent truth and falsity in the Arduino language: true, and false.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/short?rev=1708041960&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:00+02:00</dc:date>
        <title>c:keywords:short</title>
        <link>https://code-reference.com/c/keywords/short?rev=1708041960&amp;do=diff</link>
        <description>see short</description>
    </item>
    <item rdf:about="https://code-reference.com/c/limits.h/shrt_min?rev=1359928909&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T23:01:49+02:00</dc:date>
        <title>SHRT_MIN</title>
        <link>https://code-reference.com/c/limits.h/shrt_min?rev=1359928909&amp;do=diff</link>
        <description>SHRT_MIN


description of SHRT_MIN

min value of short (-32.768)</description>
    </item>
    <item rdf:about="https://code-reference.com/java/control_structures/switch?rev=1365602129&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T15:55:29+02:00</dc:date>
        <title>switch</title>
        <link>https://code-reference.com/java/control_structures/switch?rev=1365602129&amp;do=diff</link>
        <description>The switch statement is a multi-select control structure. An expression is evaluated once and compared to 'constants'. In case of equality, the 'statements' that come after the 'constant' are processed. In switch 'statements' can only ordinary data types (ie, 'int', 'long', char, short, etc.) can be used.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>delay()</title>
        <link>https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff</link>
        <description>Description

Pauses the program for the amount of time (in miliseconds) specified as parameter.   (There are 1000 milliseconds in a second.)

Syntax

delay(ms)

Parameters

ms: the number of milliseconds to pause (unsigned long)

Returns

nothing

Example


int ledPin = 13;                 // LED connected to digital pin 13

void setup()
{
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
}

void loop()
{
  digitalWrite(ledPin, HIGH);   // sets the LED on
  delay(1000);          …</description>
    </item>
</rdf:RDF>
