# Path: nanpy/arduinoboard.py
# class ArduinoObject(object):
#     connection=None
# 
#     def __init__(self, connection=None):
#         self.namespace = self.__class__.__name__
#         self.id = 0
#         self.connection = connection
# 
#     def call(self, *args):
#         return _call(self.namespace, self.id, args, self.connection)
# 
# Path: nanpy/arduinoboard.py
# def arduinoobjectmethod(funct, *args, **kwargs):
#     def wrapper(self, *args, **kwargs):
#         call_pars = [funct.__name__]
#         call_pars.extend(args)
#         funct(self, *args, **kwargs)
#         connection = self.connection if hasattr(self, 'connection') else None
#         return _call(self.namespace, self.id, call_pars, connection=connection)
#     return wrapper


from nanpy.arduinoboard import ArduinoObject
from nanpy.arduinoboard import arduinoobjectmethod
import time
    NOTE_DS6 = 1245
    NOTE_E6  = 1319
    NOTE_F6  = 1397
    NOTE_FS6 = 1480
    NOTE_G6  = 1568
    NOTE_GS6 = 1661
    NOTE_A6  = 1760
    NOTE_AS6 = 1865
    NOTE_B6  = 1976
    NOTE_C7  = 2093
    NOTE_CS7 = 2217
    NOTE_D7  = 2349
    NOTE_DS7 = 2489
    NOTE_E7  = 2637
    NOTE_F7  = 2794
    NOTE_FS7 = 2960
    NOTE_G7  = 3136
    NOTE_GS7 = 3322
    NOTE_A7  = 3520
    NOTE_AS7 = 3729
    NOTE_B7  = 3951
    NOTE_C8  = 4186
    NOTE_CS8 = 4435
    NOTE_D8  = 4699
    NOTE_DS8 = 4978

    def __init__(self, pin, connection=None):
        ArduinoObject.__init__(self, connection=connection)
        self.id = self.call('new', pin)


# Path: nanpy/arduinoboard.py
# class ArduinoObject(object):
#     connection=None
# 
#     def __init__(self, connection=None):
#         self.namespace = self.__class__.__name__
#         self.id = 0
#         self.connection = connection
# 
#     def call(self, *args):
#         return _call(self.namespace, self.id, args, self.connection)
# 
# Path: nanpy/arduinoboard.py
# def arduinoobjectmethod(funct, *args, **kwargs):
#     def wrapper(self, *args, **kwargs):
#         call_pars = [funct.__name__]
#         call_pars.extend(args)
#         funct(self, *args, **kwargs)
#         connection = self.connection if hasattr(self, 'connection') else None
#         return _call(self.namespace, self.id, call_pars, connection=connection)
#     return wrapper


# Path: nanpy/tone.py
from nanpy.arduinoboard import ArduinoObject
from nanpy.arduinoboard import arduinoobjectmethod
import time

    NOTE_DS6 = 1245
    NOTE_E6  = 1319
    NOTE_F6  = 1397
    NOTE_FS6 = 1480
    NOTE_G6  = 1568
    NOTE_GS6 = 1661
    NOTE_A6  = 1760
    NOTE_AS6 = 1865
    NOTE_B6  = 1976
    NOTE_C7  = 2093
    NOTE_CS7 = 2217
    NOTE_D7  = 2349
    NOTE_DS7 = 2489
    NOTE_E7  = 2637
    NOTE_F7  = 2794
    NOTE_FS7 = 2960
    NOTE_G7  = 3136
    NOTE_GS7 = 3322
    NOTE_A7  = 3520
    NOTE_AS7 = 3729
    NOTE_B7  = 3951
    NOTE_C8  = 4186
    NOTE_CS8 = 4435
    NOTE_D8  = 4699
    NOTE_DS8 = 4978

    def __init__(self, pin, connection=None):
        ArduinoObject.__init__(self, connection=connection)
        self.id = self.call('new', pin)


    @arduinoobjectmethod