From 08f095941120978c80bde77f4487359d45889067 Mon Sep 17 00:00:00 2001 From: Kelsey Breseman Date: Fri, 15 Apr 2016 10:12:53 +0200 Subject: [PATCH] fixes https://github.com/tessel/t2-firmware/issues/71 --- node/tessel-export.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/tessel-export.js b/node/tessel-export.js index 91f3a35..b1a7332 100644 --- a/node/tessel-export.js +++ b/node/tessel-export.js @@ -554,7 +554,7 @@ Tessel.Pin.prototype.removeAllListeners = function(event) { Tessel.Pin.prototype.addListener = function(mode, callback) { if (typeof Tessel.Pin.interruptModes[mode] !== 'undefined') { if (!this.interruptSupported) { - throw new Error('Interrupts are not supported on pin ' + this.pin); + throw new Error('Interrupts are not supported on pin ' + this.pin + '. Pins 2, 5, 6, and 7 on either port support interrupts.'); } if ((mode === 'high' || mode === 'low') && !callback.listener) {