add got_chars((char *)Buf, Len); to int8_t CDC_Receive_FS (uint8_t Buf, uint32_t *Len)
and add usb_out(); to main loop
| import argparse | |
| import struct | |
| from pyftdi.ftdi import Ftdi | |
| from math import log2 | |
| from pyftdi.spi import SpiController | |
| def calculate_adf4351_registers( | |
| f_out, | |
| f_ref, |
| import re | |
| class NGram(): | |
| pattern = re.compile('[^а-яА-Я ]+') | |
| _ngrams = dict() | |
| _it = 0 | |
| def __init__(self): | |
| self.words = dict() | |
| self._it = 0 |
add got_chars((char *)Buf, Len); to int8_t CDC_Receive_FS (uint8_t Buf, uint32_t *Len)
and add usb_out(); to main loop
| /* | |
| * rtc.c | |
| * | |
| * Created on: 11 июн. 2017 г. | |
| * Author: stavinsky | |
| */ | |
| #include "rtc.h" | |
This is a test for my lcd display.
PINS DB7:0 connected to A7:0
Other pins connected as described in lcd.h
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| from sklearn.base import TransformerMixin | |
| class TransformWrapper(TransformerMixin): | |
| """simple wrapper for instruments like LabelEncoder. | |
| It is usefull if we want to encode many features at one time. | |
| They have a little bit different interface compairing to OneHotEncoder for example""" | |
| def __init__(self, enc): | |
| self.enc = enc |
| -module(solution). | |
| -export([main/0]). | |
| input(row) -> | |
| input([], row); | |
| input(column) -> | |
| input([], column). | |
| input(List, row)-> | |
| case io:get_line("") of | |
| eof -> List; |
| #!/usr/bin/env python | |
| """ mysql_test_connection.py: simple script to check if mysql drops connections | |
| """ | |
| import mysql.connector | |
| from mysql.connector import errorcode | |
| import sys | |
| import logging | |
| import time | |
| TIMEOUT = 100.0 / 1000 # milliseconds |
| #!/bin/bash -e | |
| ###### | |
| # here last version of all package. | |
| # Please change constants at the top of this file before use!!! | |
| # | |
| # usage: sh -e build.sh all # to build all in a right sequence | |
| # | |
| # | |
| ###### |