Casey Bralla via plug on 19 Feb 2024 18:39:43 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Arduino Syntax Questions


I've been working with some auduino boards lately, and have come across some published programs that contain syntax that I do not understand.  I've checked multiple on-line references, and haven't found a good reference to explain what is going on.  Maybe someone here can help?

Here's are some examples of program statements that I don't understand.  These all have to do with setting internal timer registers in a SAMD21 processor on an Arduino Nano 33 IoT board.

From an interrupt routine:


So my questions:

  1. what does the "->" signify?
  2. What is the "|" character telling me about the assignment statement?

TIA!

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug