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
| pragma solidity ^0.4.15; | |
| /// ERC Token Standard #20 Interface (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md) | |
| contract IERC20 { | |
| uint256 public totalSupply; | |
| function balanceOf(address _owner) constant returns (uint256 balance); | |
| function transfer(address _to, uint256 _value) returns (bool success); | |
| function transferFrom(address _from, address _to, uint256 _value) returns (bool success); | |
| function approve(address _spender, uint256 _value) returns (bool success); | |
| function allowance(address _owner, address _spender) constant returns (uint256 remaining); | |
| event Transfer(address indexed _from, address indexed _to, uint256 _value); |
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
| 0xEfa1958B3248A95c08F0a964Ad844848f1D7e0A3 |
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
| 0x062d8036c2AB540F5aB2DBCB787766E88FE18a96 |
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
| #uBlox flight mode code | |
| import serial | |
| import time | |
| import sys | |
| import time as time_ | |
| gps_set_sucess = False | |
| ser = serial.Serial("/dev/ttyACM0", 9600) #ACM gps AMA gpio | |
| setNav = bytearray.fromhex("B5 62 06 24 24 00 FF FF 06 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 2C 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16 DC") |