changes
This commit is contained in:
21
code/main.c
21
code/main.c
@@ -31,7 +31,7 @@ void* EEMEM settings_saved;
|
|||||||
volatile uint8_t menu_state = 0;
|
volatile uint8_t menu_state = 0;
|
||||||
volatile uint8_t update = 1;
|
volatile uint8_t update = 1;
|
||||||
|
|
||||||
#define SDI_SHIELD_ADDR 0x84
|
#define SDI_SHIELD_ADDR 0xDC
|
||||||
|
|
||||||
#define VF_BACK_PVW_TALLY_PIN 0
|
#define VF_BACK_PVW_TALLY_PIN 0
|
||||||
#define VF_BACK_PGM_TALLY_PIN 1
|
#define VF_BACK_PGM_TALLY_PIN 1
|
||||||
@@ -94,6 +94,15 @@ int main(void){
|
|||||||
DDRC |= 1<<1;
|
DDRC |= 1<<1;
|
||||||
PORTB |= (1<<VF_BACK_PGM_TALLY_PIN);
|
PORTB |= (1<<VF_BACK_PGM_TALLY_PIN);
|
||||||
|
|
||||||
|
//lcd_printf("scan: ");
|
||||||
|
|
||||||
|
//for(uint8_t i=0; i<255; i++){
|
||||||
|
// uint8_t res = i2c_start(i);
|
||||||
|
// i2c_stop();
|
||||||
|
// if(!res)
|
||||||
|
// lcd_printf("%x ", i);
|
||||||
|
//}
|
||||||
|
|
||||||
_delay_ms(100);
|
_delay_ms(100);
|
||||||
|
|
||||||
lcd_printf("sdishield: ");
|
lcd_printf("sdishield: ");
|
||||||
@@ -130,15 +139,7 @@ int main(void){
|
|||||||
PORTB &= ~(1<<VF_FRONT_PGM_TALLY_PIN);
|
PORTB &= ~(1<<VF_FRONT_PGM_TALLY_PIN);
|
||||||
PORTB &= ~(1<<VF_BACK_PVW_TALLY_PIN);
|
PORTB &= ~(1<<VF_BACK_PVW_TALLY_PIN);
|
||||||
|
|
||||||
/*
|
|
||||||
for(uint8_t i=0; i<255; i++){
|
|
||||||
uint8_t res = i2c_start(i);
|
|
||||||
i2c_stop();
|
|
||||||
if(!res)
|
|
||||||
lcd_printf("%x ", i);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
wdt_enable(WDTO_60MS);
|
wdt_enable(WDTO_60MS);
|
||||||
|
|
||||||
sei();
|
sei();
|
||||||
|
|||||||
@@ -67,6 +67,12 @@
|
|||||||
"visible_layers": "fffffff_ffffffff",
|
"visible_layers": "fffffff_ffffffff",
|
||||||
"zone_display_mode": 0
|
"zone_display_mode": 0
|
||||||
},
|
},
|
||||||
|
"git": {
|
||||||
|
"repo_password": "",
|
||||||
|
"repo_type": "",
|
||||||
|
"repo_username": "",
|
||||||
|
"ssh_key": ""
|
||||||
|
},
|
||||||
"meta": {
|
"meta": {
|
||||||
"filename": "tallySdoAdapter.kicad_prl",
|
"filename": "tallySdoAdapter.kicad_prl",
|
||||||
"version": 3
|
"version": 3
|
||||||
@@ -3,6 +3,9 @@
|
|||||||
"3dviewports": [],
|
"3dviewports": [],
|
||||||
"design_settings": {
|
"design_settings": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
|
"apply_defaults_to_fp_fields": false,
|
||||||
|
"apply_defaults_to_fp_shapes": false,
|
||||||
|
"apply_defaults_to_fp_text": false,
|
||||||
"board_outline_line_width": 0.09999999999999999,
|
"board_outline_line_width": 0.09999999999999999,
|
||||||
"copper_line_width": 0.19999999999999998,
|
"copper_line_width": 0.19999999999999998,
|
||||||
"copper_text_italic": false,
|
"copper_text_italic": false,
|
||||||
@@ -167,9 +170,6 @@
|
|||||||
},
|
},
|
||||||
"teardrop_options": [
|
"teardrop_options": [
|
||||||
{
|
{
|
||||||
"td_allow_use_two_tracks": true,
|
|
||||||
"td_curve_segcount": 5,
|
|
||||||
"td_on_pad_in_zone": false,
|
|
||||||
"td_onpadsmd": true,
|
"td_onpadsmd": true,
|
||||||
"td_onroundshapesonly": false,
|
"td_onroundshapesonly": false,
|
||||||
"td_ontrackend": false,
|
"td_ontrackend": false,
|
||||||
@@ -178,29 +178,35 @@
|
|||||||
],
|
],
|
||||||
"teardrop_parameters": [
|
"teardrop_parameters": [
|
||||||
{
|
{
|
||||||
|
"td_allow_use_two_tracks": true,
|
||||||
"td_curve_segcount": 0,
|
"td_curve_segcount": 0,
|
||||||
"td_height_ratio": 1.0,
|
"td_height_ratio": 1.0,
|
||||||
"td_length_ratio": 0.5,
|
"td_length_ratio": 0.5,
|
||||||
"td_maxheight": 2.0,
|
"td_maxheight": 2.0,
|
||||||
"td_maxlen": 1.0,
|
"td_maxlen": 1.0,
|
||||||
|
"td_on_pad_in_zone": false,
|
||||||
"td_target_name": "td_round_shape",
|
"td_target_name": "td_round_shape",
|
||||||
"td_width_to_size_filter_ratio": 0.9
|
"td_width_to_size_filter_ratio": 0.9
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"td_allow_use_two_tracks": true,
|
||||||
"td_curve_segcount": 0,
|
"td_curve_segcount": 0,
|
||||||
"td_height_ratio": 1.0,
|
"td_height_ratio": 1.0,
|
||||||
"td_length_ratio": 0.5,
|
"td_length_ratio": 0.5,
|
||||||
"td_maxheight": 2.0,
|
"td_maxheight": 2.0,
|
||||||
"td_maxlen": 1.0,
|
"td_maxlen": 1.0,
|
||||||
|
"td_on_pad_in_zone": false,
|
||||||
"td_target_name": "td_rect_shape",
|
"td_target_name": "td_rect_shape",
|
||||||
"td_width_to_size_filter_ratio": 0.9
|
"td_width_to_size_filter_ratio": 0.9
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"td_allow_use_two_tracks": true,
|
||||||
"td_curve_segcount": 0,
|
"td_curve_segcount": 0,
|
||||||
"td_height_ratio": 1.0,
|
"td_height_ratio": 1.0,
|
||||||
"td_length_ratio": 0.5,
|
"td_length_ratio": 0.5,
|
||||||
"td_maxheight": 2.0,
|
"td_maxheight": 2.0,
|
||||||
"td_maxlen": 1.0,
|
"td_maxlen": 1.0,
|
||||||
|
"td_on_pad_in_zone": false,
|
||||||
"td_target_name": "td_track_end",
|
"td_target_name": "td_track_end",
|
||||||
"td_width_to_size_filter_ratio": 0.9
|
"td_width_to_size_filter_ratio": 0.9
|
||||||
}
|
}
|
||||||
@@ -211,6 +217,32 @@
|
|||||||
0.5,
|
0.5,
|
||||||
1.5
|
1.5
|
||||||
],
|
],
|
||||||
|
"tuning_pattern_settings": {
|
||||||
|
"diff_pair_defaults": {
|
||||||
|
"corner_radius_percentage": 100,
|
||||||
|
"corner_style": 1,
|
||||||
|
"max_amplitude": 1.0,
|
||||||
|
"min_amplitude": 0.1,
|
||||||
|
"single_sided": false,
|
||||||
|
"spacing": 0.6
|
||||||
|
},
|
||||||
|
"diff_pair_skew_defaults": {
|
||||||
|
"corner_radius_percentage": 100,
|
||||||
|
"corner_style": 1,
|
||||||
|
"max_amplitude": 1.0,
|
||||||
|
"min_amplitude": 0.1,
|
||||||
|
"single_sided": false,
|
||||||
|
"spacing": 0.6
|
||||||
|
},
|
||||||
|
"single_track_defaults": {
|
||||||
|
"corner_radius_percentage": 100,
|
||||||
|
"corner_style": 1,
|
||||||
|
"max_amplitude": 1.0,
|
||||||
|
"min_amplitude": 0.1,
|
||||||
|
"single_sided": false,
|
||||||
|
"spacing": 0.6
|
||||||
|
}
|
||||||
|
},
|
||||||
"via_dimensions": [
|
"via_dimensions": [
|
||||||
{
|
{
|
||||||
"diameter": 0.0,
|
"diameter": 0.0,
|
||||||
@@ -224,6 +256,13 @@
|
|||||||
"zones_allow_external_fillets": false,
|
"zones_allow_external_fillets": false,
|
||||||
"zones_use_no_outline": true
|
"zones_use_no_outline": true
|
||||||
},
|
},
|
||||||
|
"ipc2581": {
|
||||||
|
"dist": "",
|
||||||
|
"distpn": "",
|
||||||
|
"internal_id": "",
|
||||||
|
"mfg": "",
|
||||||
|
"mpn": ""
|
||||||
|
},
|
||||||
"layer_presets": [],
|
"layer_presets": [],
|
||||||
"viewports": []
|
"viewports": []
|
||||||
},
|
},
|
||||||
@@ -586,14 +625,75 @@
|
|||||||
"gencad": "",
|
"gencad": "",
|
||||||
"idf": "",
|
"idf": "",
|
||||||
"netlist": "",
|
"netlist": "",
|
||||||
|
"plot": "",
|
||||||
|
"pos_files": "",
|
||||||
"specctra_dsn": "",
|
"specctra_dsn": "",
|
||||||
"step": "",
|
"step": "tallySdoAdapter.step",
|
||||||
|
"svg": "",
|
||||||
"vrml": ""
|
"vrml": ""
|
||||||
},
|
},
|
||||||
"page_layout_descr_file": ""
|
"page_layout_descr_file": ""
|
||||||
},
|
},
|
||||||
"schematic": {
|
"schematic": {
|
||||||
"annotate_start_num": 0,
|
"annotate_start_num": 0,
|
||||||
|
"bom_fmt_presets": [],
|
||||||
|
"bom_fmt_settings": {
|
||||||
|
"field_delimiter": ",",
|
||||||
|
"keep_line_breaks": false,
|
||||||
|
"keep_tabs": false,
|
||||||
|
"name": "CSV",
|
||||||
|
"ref_delimiter": ",",
|
||||||
|
"ref_range_delimiter": "",
|
||||||
|
"string_delimiter": "\""
|
||||||
|
},
|
||||||
|
"bom_presets": [],
|
||||||
|
"bom_settings": {
|
||||||
|
"exclude_dnp": false,
|
||||||
|
"fields_ordered": [
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Reference",
|
||||||
|
"name": "Reference",
|
||||||
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": true,
|
||||||
|
"label": "Value",
|
||||||
|
"name": "Value",
|
||||||
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Datasheet",
|
||||||
|
"name": "Datasheet",
|
||||||
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Footprint",
|
||||||
|
"name": "Footprint",
|
||||||
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Qty",
|
||||||
|
"name": "${QUANTITY}",
|
||||||
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": true,
|
||||||
|
"label": "DNP",
|
||||||
|
"name": "${DNP}",
|
||||||
|
"show": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filter_string": "",
|
||||||
|
"group_symbols": true,
|
||||||
|
"name": "Grouped By Value",
|
||||||
|
"sort_asc": true,
|
||||||
|
"sort_field": "Reference"
|
||||||
|
},
|
||||||
|
"connection_grid_size": 50.0,
|
||||||
"drawing": {
|
"drawing": {
|
||||||
"dashed_lines_dash_length_ratio": 12.0,
|
"dashed_lines_dash_length_ratio": 12.0,
|
||||||
"dashed_lines_gap_length_ratio": 3.0,
|
"dashed_lines_gap_length_ratio": 3.0,
|
||||||
@@ -607,6 +707,11 @@
|
|||||||
"intersheets_ref_suffix": "",
|
"intersheets_ref_suffix": "",
|
||||||
"junction_size_choice": 3,
|
"junction_size_choice": 3,
|
||||||
"label_size_ratio": 0.375,
|
"label_size_ratio": 0.375,
|
||||||
|
"operating_point_overlay_i_precision": 3,
|
||||||
|
"operating_point_overlay_i_range": "~A",
|
||||||
|
"operating_point_overlay_v_precision": 3,
|
||||||
|
"operating_point_overlay_v_range": "~V",
|
||||||
|
"overbar_offset_ratio": 1.23,
|
||||||
"pin_symbol_size": 25.0,
|
"pin_symbol_size": 25.0,
|
||||||
"text_offset_ratio": 0.15
|
"text_offset_ratio": 0.15
|
||||||
},
|
},
|
||||||
@@ -632,6 +737,7 @@
|
|||||||
"spice_external_command": "spice \"%I\"",
|
"spice_external_command": "spice \"%I\"",
|
||||||
"spice_model_current_sheet_as_root": true,
|
"spice_model_current_sheet_as_root": true,
|
||||||
"spice_save_all_currents": false,
|
"spice_save_all_currents": false,
|
||||||
|
"spice_save_all_dissipations": false,
|
||||||
"spice_save_all_voltages": false,
|
"spice_save_all_voltages": false,
|
||||||
"subpart_first_id": 65,
|
"subpart_first_id": 65,
|
||||||
"subpart_id_separator": 0
|
"subpart_id_separator": 0
|
||||||
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user