Commit Graph

97 Commits

Author SHA1 Message Date
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
Kevin Santo Cappuccio
278367db0f fixed parsing and arduino control 2023-12-16 12:11:15 -08:00
Kevin Santo Cappuccio
52fd384e11 UART control polishing 2023-12-15 19:24:36 -08:00
Kevin Santo Cappuccio
3a1525b410 Now the connections can be received from UART 2023-12-15 09:07:18 -08:00
Kevin Santo Cappuccio
fc1287b61d Fixed define collision with tusb_common.h so you won't need to edit the library 2023-12-14 18:47:48 -08:00
Kevin Santo Cappuccio
4094c3b688 Holy shit, routable USB-Serial is working 2023-12-07 20:43:55 -08:00
Kevin Santo Cappuccio
aa8e8f7127 Updated bridge app to work with windows better 2023-12-06 12:29:25 -08:00
Kevin Santo Cappuccio
df7991df8e Added Voltage/Current sensing interface
toggle it on with 'v' in the main menu. You'll need the new Wokwi bridge app to connect the current sensor lines
2023-12-05 17:16:49 -08:00
Kevin Santo Cappuccio
fb41f849f8 Adjusting timing and delays to make things feel a bit snappier 2023-11-15 18:08:19 -08:00
Kevin Santo Cappuccio
d52ed2eda4 Keep on fixin' shit 2023-10-30 21:12:44 -07:00
Kevin Santo Cappuccio
ede51b0219 Fixed routing for Special Function chips 2023-10-28 13:30:25 -07:00
Kevin Santo Cappuccio
ed48d88cb7 Fixed brightness menu
removed annoying warnings
2023-09-27 16:07:45 -07:00
Kevin Santo Cappuccio
3a66d7fb12 Fixed a bug where bounces wouldn't check for overlaps
phew
2023-09-19 10:18:59 -07:00
Kevin Santo Cappuccio
38a286f7c2 Add Tester Firmware 2023-09-06 13:55:00 -07:00