Skip to content

Instantly share code, notes, and snippets.

@iamdustan
Created July 15, 2015 12:06
Show Gist options
  • Select an option

  • Save iamdustan/14ba3b907d92c5f0d027 to your computer and use it in GitHub Desktop.

Select an option

Save iamdustan/14ba3b907d92c5f0d027 to your computer and use it in GitHub Desktop.
/** @flow */
import React from '../ReactHardware';
import Board from '../components/Board';
const pinMapping = {
'A0': 14,
'A1': 15,
'A2': 16,
'A3': 17,
'A4': 18,
'A5': 19,
};
class ArduinoUno extends Board {
render(): ReactElement {
return (
<Board
{...this.props}
pinMapping={pinMapping}
/>
);
}
};
ArduinoUno.defaultProps = {pinMapping};
export default ArduinoUno;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment