Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nicholaswilde on github.
  • I am nicholaswilde (https://keybase.io/nicholaswilde) on keybase.
  • I have a public key whose fingerprint is C278 D776 0E0B 27F1 9265 9595 F08A D0AD 08B7 D7A3

To claim this, I am signing this object:

@nicholaswilde
nicholaswilde / mergecsv.py
Last active December 9, 2019 16:37
Merge exported global variable csv files from Panasonic FPWIN Pro.
# Author: Nicholas Wilde <ncwilde43@gmail.com>
"""mergecsv.py - Merge exported global variable CSV files from Panasonic FPWIN Pro.
Global variables identifiers and the data values are exported as separate CSV files
from the Panasonic FPWIN Pro program. The data values are exported as literal
binary values of 16bit length.
The ObjectEvaluator class uses the Factory Method design by the Gang of Four. It
allows for easy modification of the code to add other global variable types
// -----------------------------------------
// Publish and Dashboard with an Input
// -----------------------------------------
// This app will publish an event when a contact is made.
// Just like before, we're going to start by declaring which pins everything is plugged into.
int boardLed = D7; // This is the LED that is already on your device.
// On the Core, it's the LED in the upper right hand corner.
// On the Photon, it's next to the D7 pin.