Commit Graph

110 Commits

Author SHA1 Message Date
Kevin Santo Cappuccio
f5d41711f6 Slowed down sending data to chips 2024-03-04 11:39:07 -08:00
Kevin Santo Cappuccio
6da47e9fbf Added footpint and font files, took out spaces from folder names 2024-02-24 13:41:02 -08:00
Kevin Santo Cappuccio
ce13ca26fb Add voltage selection to probing, more colors on status led 2024-02-20 14:33:33 -08:00
Kevin Santo Cappuccio
a964b61905 Fix node file clear and restore, make disambiguation a different color 2024-02-20 08:48:27 -08:00
Kevin Santo Cappuccio
f0e15a1fd7 add a double button press timer 2024-02-18 17:52:28 -08:00
Kevin Santo Cappuccio
022b511062 Better probing menu, disambuguation of shorted rows, add a flag to swap probe/button pins 2024-02-18 17:39:11 -08:00
Kevin Santo Cappuccio
85a915fb72 tiny tweaks to probing 2024-02-17 21:53:39 -08:00
Kevin Santo Cappuccio
f9640cedd1 probe 2024-02-17 17:23:47 -08:00
Kevin Santo Cappuccio
244678a4dd rewrote probing 2024-02-17 17:22:36 -08:00
Kevin Santo Cappuccio
ded4f57062 machine command tweak 2024-02-16 10:19:36 -08:00
Kevin Santo Cappuccio
aa6590a1fe
Merge pull request #28 from nilclass/adc-samples-via-hid
Continously sample ADCs and expose samples via a USB Interrupt endpoint
2024-02-16 09:57:17 -08:00
Kevin Santo Cappuccio
50e18fd1b3 Fucking versioning 2024-02-16 09:44:25 -08:00
Kevin Santo Cappuccio
df23c7898a Probing is it's own file and works on the nano header, fixed routing bugs, keep track of unconnected paths 2024-02-16 09:43:37 -08:00
Niklas Cathor
454ea53754 Use adcReadings instead of analogRead 2024-02-16 11:57:20 +01:00
Niklas Cathor
aab83ac20f Add custom class driver, instead of using HID 2024-02-16 11:10:12 +01:00
Niklas Cathor
b54e4fa695 Add copy of Adafruit_TinyUSB_Arduino library 2024-02-16 09:57:04 +01:00
Niklas Cathor
ca2d0cc526 Continously sample ADCs and expose them via USB HID 2024-02-15 23:50:06 +01:00
Kevin Santo Cappuccio
7ad7f2ce57 Probing mode improvements 2024-02-14 11:24:30 -08:00
Kevin Santo Cappuccio
2a274928a9 Added probing!!! 2024-02-13 21:19:57 -08:00
Kevin Santo Cappuccio
2d21dfed12 Added early probing support 2024-02-13 13:01:15 -08:00
Kevin Santo Cappuccio
f65f48b1a2 Probing almost works for now it just prints what it touched. Added scaling up for Jumperlab. 2024-02-13 13:01:10 -08:00
Niklas Cathor
4765efc36e Add command 'getchipstatus' 2024-02-09 08:52:11 +01:00
Kevin Santo Cappuccio
64defcaf22 add canonical defines and an option to print the long or short versions 2024-02-03 09:58:49 -08:00
Kevin Santo Cappuccio
5b7dd6fbe6 Deleting a bunch of crap 2024-02-01 12:00:36 -08:00
Kevin Santo Cappuccio
790c1a8af1 Fixed delays so things run quicker and don't drop incoming characters 2024-01-31 20:00:48 -08:00
Kevin Santo Cappuccio
3a15ff2fc3 check other side of hops 2024-01-31 20:00:47 -08:00
Niklas Cathor
99461d6a6e Add SPDX-License-Identifier to JumperlessNano/src/ files 2024-01-28 09:34:20 +01:00
Kevin Santo Cappuccio
448aabb3e3 Fixed a bunch of routing bugs 2024-01-14 16:37:16 -08:00
Kevin Santo Cappuccio
53a3c67d21 allow you to load last nets even when connected to a host 2024-01-12 17:43:20 -08:00
Kevin Santo Cappuccio
43a8d674dc Add "load last net" if connected to a power bank with no USB host 2024-01-12 14:23:16 -08:00
Kevin Santo Cappuccio
f9e199d687 Added USB-Serial baud rate selection 2024-01-12 12:25:34 -08:00
Kevin Santo Cappuccio
4272a69aec Scale down brightness to work with Jumperlab 2024-01-11 19:52:12 -08:00
Kevin Santo Cappuccio
bf4a42e8c6 Added brightness scaling so it doesn't melt when using Jumperlab 2024-01-11 19:35:29 -08:00
Niklas Cathor
1ae05b08e3 Accept # prefix for colors 2024-01-10 07:49:18 +01:00
Niklas Cathor
8c425c441c machine-mode: getsupplyswitch
Example:
    SEND ::getsupplyswitch:1395[]
    REVC ::supplyswitch[5V]
    REVC :🆗1395
2024-01-06 10:18:17 +01:00
Kevin Santo Cappuccio
e4f1517214 || should've been && 2024-01-03 16:45:14 -08:00
Kevin Santo Cappuccio
cbce621735 left in a print 2024-01-03 11:54:02 -08:00
Kevin Santo Cappuccio
0074dc631d Merge branch 'main' of https://github.com/Architeuthis-Flux/Jumperless 2024-01-03 11:51:30 -08:00
Kevin Santo Cappuccio
e8c4206175 machine mode fixes 2024-01-03 11:51:27 -08:00
Kevin Santo Cappuccio
150bc741fd machine mode wasn't parsing the first node 2024-01-03 11:51:11 -08:00
Niklas Cathor
96e09c47a4 Machine mode: respond to commands to signal success
After processing a machine-mode instruction, respond with "::ok\r\n".
This way the host side knows if an instruction was processed or not.

Also instructions can carry an optional "sequence number" now, which
will be echoed in the "ok" response.

Example:
  ::lightnode:23[...]
responds with:
  :🆗23

The sequence number can be used on the host side to synchronize
specific function calls with their response.

Unknown instructions respond with
  ::error
instead.
2024-01-03 08:22:40 +01:00
Kevin Santo Cappuccio
a93901fbe0 Added an svg interactive Jumperless for people who want to use it to make web apps or whatever 2024-01-01 19:45:40 -08:00
Kevin Santo Cappuccio
a40f74bc75 Merge branch 'main' of https://github.com/Architeuthis-Flux/Jumperless 2024-01-01 09:27:28 -08:00
Kevin Santo Cappuccio
b48820d9cc Remove a silly thing I added for testing 2024-01-01 09:25:48 -08:00
Niklas Cathor
307c852518 Add machine commands "getnetlist", "getbridgelist"
- `::getnetlist[]`: prints the in a machine-readable way
  ```
  ::netlist-begin
  ::net[1,1,GND,true,001c04,false,GND]
  ::net[2,2,5V,true,1c0702,false,+5V]
  ::net[3,3,3V3,true,1c0107,false,+3.3V]
  ::net[4,4,DAC_0,true,231111,false,DAC 0]
  ::net[5,5,DAC_1,true,230913,false,DAC 1]
  ::net[6,6,I_POS,true,232323,false,I Sense +]
  ::net[7,7,I_NEG,true,232323,false,I Sense -]
  ::netlist-end
  ```

- `::getbridgelist[]`: prints the bridge list in the `::bridgelist[...]` format
2024-01-01 13:16:45 +01:00
Kevin Santo Cappuccio
2f1158393a Accepts ::lightnet for +-8V and header glow and stuff 2023-12-31 10:38:38 -08:00
Kevin Santo Cappuccio
78e878cb5a testing VScode Source Control fuckery 2023-12-31 09:11:00 -08:00
Niklas Cathor
65dd3fc328 Fix build on case-sensitive filesystem 2023-12-31 09:25:19 +01:00
Kevin Santo Cappuccio
5e9699bc14 Added Machine command parsing 2023-12-30 16:46:53 -08:00
Kevin Santo Cappuccio
505569c5aa fixed an edge case routing bug 2023-12-18 15:28:58 -08:00