mcci-catena / mcci-catena-provision Goto Github PK
View Code? Open in Web Editor NEWSet up an MCCI Catena device over USB
License: MIT License
Set up an MCCI Catena device over USB
License: MIT License
Catena 4801 devices, when running at slow clock rates and provisioning via a real UART, can't keep up. When using Tera Term, we set the inter character delay to 1ms. We should allow a delay (via command line) -- or just always insert it.
The published version of this inadvertently used "Platform-version" rather than the official "Platform-Version" string from the Catena-Arduino-Platform system version
command. Correct it.
Thanks!
I'd like us to follow MCCI style on Python scripts for commenting.
Like this:
#!/usr/bin/env python3
##############################################################################
#
# Module: {{fjlename}}.py
#
# Function:
# {{one-line description}}
#
# Copyright and License:
# Copyright (C) 2021, MCCI Corporation. See accompanying LICENSE file
#
# Author:
# {{author's name}}, MCCI {{month}}, {{year}}
#
##############################################################################
Use spaces (not tabs), and set tabs at 4 characters.
Here's a concrete example:
#!/usr/bin/env python3
##############################################################################
#
# Module: modbus-spt-cli.py
#
# Function:
# Simple SPT emulator (from command line)
#
# Copyright and License:
# Copyright (C) 2021, MCCI Corporation. See accompanying LICENSE file
#
# Author:
# Terry Moore, MCCI April, 2021
#
##############################################################################
Then list all the imports, in alphabetical order by module. For example:
import argparse
from datetime import datetime, timezone
from enum import Enum
import modbus_tk
import re
import serial
import struct
import sys
import time
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.