Eaglet board Grove connector is connected to I2C_6 while True: # get Acceleration adxl.update() force = adxl.getAcceleration() data = {'X': force[0], 'Y': force[1], 'Z': force[2]}
kinesis = boto3.client('kinesis') while True: # send to Kinesis res = kinesis.put_record( StreamName=stream_name, Data=json.dumps(data), PartitionKey=gethostname() # as you like )