Reference   Language (extended) | Libraries | Comparison | Board

Keywords

Keywords are constants, variables and function names that are defined as part of the Arduino language. Avoid using keywords for variable names.

# ConstantsHIGH	LOW	INPUT	OUTPUT	SERIAL	DISPLAY	PI	HALF_PI	TWO_PI	LSBFIRST	MSBFIRST	CHANGE	FALLING	RISING	false		true		null	# Port Variables & ConstantsDDRBPINBPORTBPB0PB1PB2PB3PB4PB5PB6PB7DDRCPINCPORTCPC0PC1PC2PC3PC4PC5PC6PC7DDRDPINDPORTDPD0PD1PD2PD3PD4PD5PD6PD7# Datatypesboolean	byte	char	class		default		do		double		int	long	
private		protected		public		return		short		signed	static		switch		throw		try		unsigned	void		# Otherabsacos+=+[]asin=atanatan2&|booleanbytecaseceilcharcharclass,//?:constraincos{}--defaultdelaydelayMicroseconds//**. else==expfalsefloatfloatfloorfor<<=HALF_PIif++!=int<<<<=log&&!||
loopmaxmillismin-%/**newnull()PIreturn>>;Serial	Setupsinsqsqrt-=switchtanthistrueTWO_PIvoidwhileSerial	begin	readprintwriteprintlnavailabledigitalWrite	digitalReadpinModeanalogReadanalogWriteattachInterruptsdetachInterruptsbeginSerialserialWriteserialReadserialAvailableprintStringprintIntegerprintByteprintHexprintOctalprintBinaryprintNewlinepulseInshiftOut

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

>