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
#include <Servo.h> | |
#include <Keypad.h> | |
Servo servoMotor; | |
const int servoPin = 913; // Digital pin connected to the servo | |
const byte ROWS = 4; //four rows | |
const byte COLS = 4; //four columns | |
char keys[ROWS][COLS] = { | |
{'1','2','3','A'}, |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.1; | |
pragma abicoder v2; | |
import "https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/interfaces/ISwapRouter.sol"; | |
import "https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/interfaces/IQuoter.sol"; | |
import "https://github.com/Uniswap/v3-periphery/blob/main/contracts/libraries/TransferHelper.sol"; | |
interface IUniswapRouter is ISwapRouter { | |
function refundETH() external payable; |