This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################## | |
#### pnLED.py #### | |
################## | |
# This code is ported from Raspberry Pi to Intel Edison. | |
# LEDs are activated in active-low signal! | |
from Pubnub import Pubnub | |
import mraa ## Import libmraa library |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== modified file 'common/drawpanel.cpp' | |
--- common/drawpanel.cpp 2013-02-21 20:53:50 +0000 | |
+++ common/drawpanel.cpp 2013-09-02 15:14:40 +0000 | |
@@ -870,6 +870,42 @@ | |
wxCommandEvent cmd( wxEVT_COMMAND_MENU_SELECTED ); | |
cmd.SetEventObject( this ); | |
+ int x, y; | |
+ GetViewStart( &x, &y ); | |
+ |