User Tools

Site Tools


glossary:glossary_i

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
glossary:glossary_i [2021/08/11 09:24] – [ICSP] WortingUKglossary:glossary_i [2022/01/26 10:40] – [Include Guard] WortingUK
Line 17: Line 17:
 AVR ATMEGA chips use a 6 pin connector based on SPI bus. (Optional on Arduino AVR modules)\\ AVR ATMEGA chips use a 6 pin connector based on SPI bus. (Optional on Arduino AVR modules)\\
 Atmel SAMD chips have a OneWire ICSP (signal/0v/power).  Atmel SAMD chips have a OneWire ICSP (signal/0v/power). 
 +
 +
 ===== Incandescent lamps ===== ===== Incandescent lamps =====
  
Line 27: Line 29:
  
  \\ [[http://www.kpsec.freeuk.com/components/lamp.htm|http://www.kpsec.freeuk.com/components/lamp.htm]]  \\ [[http://www.kpsec.freeuk.com/components/lamp.htm|http://www.kpsec.freeuk.com/components/lamp.htm]]
 +
 +
 +===== Include Guard =====
 +
 +A method of preventing a C or C++ header source file (.h or .hpp), from being included more than once by other files. It uses 'compiler directives' ''#'' to do this.
 +
 +''#ifndef _FILENAME_H_''
 +
 +''#define _FILENAME_H_''
 +
 +''/ contents of the header file go here */''
 +
 +''#endif /* _FILENAME_H_ */''
 +
 +If the compiler supports it, then following can be used
 +
 +''#pragma once''
 +
 +''/ contents of the header file go here */''
 +
  
  
glossary/glossary_i.txt · Last modified: 2023/07/25 15:55 by JohnFletcher

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki