Difference between revisions of "Unit WiringSerial"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Reference === Description === ---- ''To be documented'' === Constants === ---- ''To be documented'' === Type definitions === ---- ''To...")
 
Line 5: Line 5:
 
----
 
----
  
''To be documented''
+
This unit reproduces the functionality of Gordon Henderson's WiringSerial library which is part of WiringPi. See the Wiring unit for an implementation of the core WiringPi library and for more information.
 +
 +
As with the core Wiring API this unit maintains function names and parameters as closely as possible to the original library to allow easy porting of existing code and examples.
 +
 +
To use the Wiring Serial unit you must also include the driver unit for the specific board that you are using by adding it to the uses clause in your program.
 +
 +
* For Raspberry Pi A/B/A+/B+/Zero add BCM2708
 +
* For Raspberry Pi 2B add BCM2709
 +
* For Raspberry Pi 3B add BCM2710
 +
 +
Note: Currently the serialPrintf function is not implemented due to the variable parameter list.
 +
 +
Currently based on WiringPi release 2.32
  
 
=== Constants ===
 
=== Constants ===
 
----
 
----
  
''To be documented''
+
See http://wiringpi.com/reference/
  
 
=== Type definitions ===
 
=== Type definitions ===
 
----
 
----
  
''To be documented''
+
See http://wiringpi.com/reference/
  
 
=== Public variables ===
 
=== Public variables ===
 
----
 
----
  
''To be documented''
+
See http://wiringpi.com/reference/
  
 
=== Function declarations ===
 
=== Function declarations ===
 
----
 
----
  
''To be documented''
+
See http://wiringpi.com/reference/
  
  
 
Return to [[Unit_Reference|Unit Reference]]
 
Return to [[Unit_Reference|Unit Reference]]

Revision as of 04:00, 16 September 2016

Return to Unit Reference


Description


This unit reproduces the functionality of Gordon Henderson's WiringSerial library which is part of WiringPi. See the Wiring unit for an implementation of the core WiringPi library and for more information.

As with the core Wiring API this unit maintains function names and parameters as closely as possible to the original library to allow easy porting of existing code and examples.

To use the Wiring Serial unit you must also include the driver unit for the specific board that you are using by adding it to the uses clause in your program.

  • For Raspberry Pi A/B/A+/B+/Zero add BCM2708
  • For Raspberry Pi 2B add BCM2709
  • For Raspberry Pi 3B add BCM2710

Note: Currently the serialPrintf function is not implemented due to the variable parameter list.

Currently based on WiringPi release 2.32

Constants


See http://wiringpi.com/reference/

Type definitions


See http://wiringpi.com/reference/

Public variables


See http://wiringpi.com/reference/

Function declarations


See http://wiringpi.com/reference/


Return to Unit Reference