Grasshopper

algorithmic modeling for Rhino

Arduino & I/O Boards
Audio
Networking
Utility
Vision

Due Write

Component Index > Firefly > Arduino & I/O Boards > Due Write

This component will write values to all corresponding digital
pins on an Arduino Due board. Note: This component is
meant to be used in tandem with the Firefly Firmata Arduino
Sketch which can be downloaded from the Firefly website
at: http://www.fireflyexperiments.com.

Inputs

NameIDDescriptionType
Start Writing ValuesStartInput an Boolean value (True/False) to start writing values to the ArduinoBoolean
DAC0DAC0Analog write to the DAC0 pin. Accepts values between 0-4096.Integer
DAC1DAC1Analog write to the DAC1 pin. Accepts values between 0-4096.Integer
Digital Pin 2~DPin2~Integer to write to Digital Pin 2. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 3~DPin3~Integer to write to Digital Pin 3. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 4~DPin4~Integer to write to Digital Pin 4. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 5~DPin5~Integer to write to Digital Pin 5. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 6~DPin6~Integer to write to Digital Pin 6. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 7~DPin7~Integer to write to Digital Pin 7. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 8~DPin8~Integer to write to Digital Pin 8. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 9~DPin9~Integer to write to Digital Pin 9. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 10~DPin10~Integer to write to Digital Pin 10. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 11~DPin11~Integer to write to Digital Pin 11. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 12~DPin12~Integer to write to Digital Pin 12. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 13~DPin13~Integer to write to Digital Pin 13. Right-click on the input to set the input status (Digital, PWM, Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the PWM status is set then any value between 0-255 can be used to analogWrite to the specified pin. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 32DPin32Integer to write to Digital Pin 32. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 33DPin33Integer to write to Digital Pin 33. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 34DPin34Integer to write to Digital Pin 34. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 35DPin35Integer to write to Digital Pin 35. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 36DPin36Integer to write to Digital Pin 36. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 37DPin37Integer to write to Digital Pin 37. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 38DPin38Integer to write to Digital Pin 38. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 39DPin39Integer to write to Digital Pin 39. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 40DPin40Integer to write to Digital Pin 40. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 41DPin41Integer to write to Digital Pin 41. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 42DPin42Integer to write to Digital Pin 42. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 43DPin43Integer to write to Digital Pin 43. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 44DPin44Integer to write to Digital Pin 44. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 45DPin45Integer to write to Digital Pin 45. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 46DPin46Integer to write to Digital Pin 46. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 47DPin47Integer to write to Digital Pin 47. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 48DPin48Integer to write to Digital Pin 48. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 49DPin49Integer to write to Digital Pin 49. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 50DPin50Integer to write to Digital Pin 50. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 51DPin51Integer to write to Digital Pin 51. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 52DPin52Integer to write to Digital Pin 52. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
Digital Pin 53DPin53Integer to write to Digital Pin 53. Right-click on the input to set the input status (Digital or Servo). If the Digital status is set then the integer (0) will send a LOW value and a (1) will send a HIGH value. If the Servo status is set then any value between 0-180 can be used to for servo positioning.Integer
PortNumberPortThe Port Number has to be the same Serial Port assigned in the Arduino Sketch. You can find which COM port you are using by clicking on the Tools>Serial Port button on the Arduino IDE.Integer

Outputs

NameIDDescriptionType
Arduino OutputOutReturns the string that will be sent to the Arduino board. The Arduino sketch that accompanies this component will split this string up and send the values to the appropriate pins.String
Status MessageMsgCurrent status of Serial PortString

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service