-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
23 lines (19 loc) · 891 Bytes
/
config.example.json
File metadata and controls
23 lines (19 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// configuration settings for talking to Micos SMC Basic microcontroller box
// IMPORTANT:
// THIS IS NOT A VALID JSON FILE, PLEASE COPY OUT TO 'config.local.json' TO USE FOR LOADING
// Script will throw an error trying to parse this file
// Remove all these comments for the actual local file
// .gitignore will automatically ignore config.local.json
// You may use any other filename, but you have to supply it into micron.Micos(devConfig = "/path/to/file")
// micron.Micos(devConfig = {"port": "/some/other/port"}) is also valid
// The config file can contain just the changed parameters from the default ones listed below
// On Linux, the port is automatically defaulted to /dev/ttySUB0
// BEWARE: If you are using USB to RS232 on Windows, it might not be COM1!
{
"port" : "COM1",
"baudrate" : 9600,
"parity" : "N",
"stopbits" : 1,
"bytesize" : 8,
"timeout" : 2
}