Skip to content
The South Australian Microprocessor Group Inc.

The South Australian Microprocessor Group Inc.

Symbiosis between electronics and innovation.

Primary Menu
  • Home
  • Contact Us
  • Members
    • Membership
    • Minutes of meetings
      • Meetings – 2015
      • Meetings – 2016
      • Meetings – 2017
      • Meetings – 2018
      • Meetings – 2019
    • SAMG History
      • Home page log
      • Historical Newsletters Vol 1
        • Vol 1 – No 1 (1979)
        • Vol 1 – No 2 (1979)
        • Vol 1 – No 3 (1979)
        • Vol 1 – No 4 (1979)
        • Vol 1 – No 5 (1979-80)
        • Vol 1 – No 6 (1980)
      • Historical Newsletters Vol 2
        • Vol 2 – No 1 (1980)
        • Vol 2 – No 2 (1980)
      • Historical Newsletters Vol 3
        • Vol 3 – No 1 (1981)
    • WEA Clubs
  • Tutorials
    • Pine64 driven from PC
    • Feasibility study for 3D printer project
    • Arduino IDE and the fundamentals of C
    • Atmel 8 bit AVR CPUs
    • SD memory cards
    • Pi + Arduino Shields
    • SAMG WordPress Site
  • Single Board PC
    • ESP8266 & ESP32 Wi-Fi devices
    • Pine64
    • Arduino
      • Fuse settings in Atmel 328P
      • 328P controlling LCD display
      • All things C code
    • Raspberry Pi
    • Udoo
    • PIC microcontroller
  • Projects

All things C code

As introduce by Cliff Shirra in his presentation on the 12th May 2017 I have included a series of links on using Library Functions and Macros.

Arduino Library Functions & Macros
Is it a good idea to turn those macros into functions?
It depends.
Macros are fast, but lack type checking.
Functions offer type checking but incur overhead.
Whether one is better than the other depends on your priorities.

Discussion on all things Macro

Be careful with the Pre-processor:

Categories

  • Meetings
    • Agendas
    • Minutes
    • Proceedings
  • News
  • Presentations
  • Tutorials

Recent Posts

  • SAMG website updated
  • Installing ESPTool on macOS and programming an ESP8266 “Witty”
  • Meeting Proceedings for 12th of April 2019
  • Fibre to the premises – FTTP
  • Agenda for SAMG meeting Friday 12th of April 2019 at 7:30pm

Login

  • Lost Password
Copyright The South Australian Microprocessor Group Inc. | Theme: Minimal Blog by WPinterface.