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
| import serial | |
| import sys | |
| import time | |
| portname = sys.argv[1] | |
| ser = serial.Serial('/dev/' + portname, 230400) | |
| def reset_arduino(): | |
| ser.setDTR(0) | |
| time.sleep(0.22) |
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
| { | |
| "status": 0, | |
| "latest_receipt_info": [{ | |
| "original_purchase_date_ms": "1471553815000", | |
| "original_transaction_id": "1000000230529246", | |
| "purchase_date_pst": "2016-08-18 13:56:55 America\/Los_Angeles", | |
| "purchase_date_ms": "1471553815000", | |
| "quantity": "1", | |
| "original_purchase_date": "2016-08-18 20:56:55 Etc\/GMT", | |
| "is_trial_period": "false", |
OlderNewer