Commit Graph

56 Commits

Author SHA1 Message Date
iam ea96563c3e
Merge pull request #13 from luketimothyjones/sort-callback-names
Sort callback names
2022-05-13 23:36:40 -04:00
Luke Pflibsen-Jones aa7ca54ce5
Order callbacks by hex value and mark missing
This lines the functions up with the documentation the reader is consulting, which makes the code easier to navigate.
It also adds comments to mark where the missing callbacks should go.

I realize this is a massive lineno change; feel free to copy-paste into your own commit.
2022-05-08 00:18:29 -07:00
Luke Pflibsen-Jones f16d328742
Merge branch 'iam4722202468:master' into better-callback-names 2022-05-08 00:11:26 -07:00
Luke Pflibsen-Jones f3000aec7e
Lowercase hex codes for better readability
`18` and `1B` are ambiguous in many fonts, including GitHub's.
2022-05-07 23:42:36 -07:00
iam b7550ef4c4
Merge pull request #12 from luketimothyjones/patch-1
Handle case where SMBus command is not implemented
2022-05-02 02:58:44 -04:00
Luke Pflibsen-Jones dfe85c7a42
Handle case where SMBus command is not implemented
NULL is returned from the function map for not-yet-implemented commands. Previously this would result in attempting to call `0()`, which is invalid. This change instead simply skips unimplemented commands.

See https://onlinegdb.com/BZmJknxpB for a minimal working example.
2022-04-29 17:19:02 -07:00
iam4722202468 88c22387d3 Add prototype bq3060 design 2021-07-23 13:30:59 -04:00
iam4722202468 a405590499 Comment batteryEmulator.ino 2021-07-23 13:14:59 -04:00
iam4722202468 d02202088b Tried routing again 2021-06-22 03:32:09 -04:00
iam4722202468 c60623ab69 Routing attempt 2021-05-21 20:30:59 -04:00
iam4722202468 e6c1aa2a71 Finish bq3060 schematic 2021-05-21 19:09:27 -04:00
iam4722202468 2d5761dabd Merge branch 'master' of github.com:iam4722202468/ThinkpadBattery 2021-05-21 16:04:31 -04:00
iam4722202468 d8d6ebd8d7 R1 bq3060 2021-05-21 16:04:23 -04:00
Alexander Parent 3fb37a7f93
Update README.md
Fix formatting
2021-04-26 01:34:24 -04:00
Alexander Parent 9079d5306b
Update README.md 2021-04-26 01:33:01 -04:00
Alexander Parent f32b319b98
Merge pull request #7 from pj1976/master
Update batteryEmulator.ino with support for R50
2021-04-26 01:28:13 -04:00
pj1976 06df761013
Update README.md 2021-04-26 00:04:51 +02:00
pj1976 fe0350ebc6
Update README.md 2021-04-25 23:56:50 +02:00
pj1976 486959fdf2
Update batteryEmulator.ino
R50 support
2021-04-25 23:32:25 +02:00
iam4722202468 110b55dc03 Update PCB before manufacturing 2020-10-10 02:57:01 -04:00
iam4722202468 1037bcd292 Revert changes 2020-10-04 22:48:51 -04:00
iam4722202468 dac5423d9f Glitch T pin for charging 2020-10-04 16:52:17 -04:00
iam4722202468 e2022b935f Update readme 2020-10-02 19:51:18 -04:00
iam4722202468 1ca5952d97 Add comment 2020-10-02 17:39:25 -04:00
iam4722202468 9d47238a2d Add comment to code 2020-10-02 16:38:10 -04:00
iam4722202468 76b7d9f91e Make battery 162wh 2020-09-30 19:27:52 -04:00
iam4722202468 21a8d37f24 Decrease voltage limit low 2020-09-29 20:44:22 -04:00
iam4722202468 2d6f053d98 Split up flat surfaces 2020-09-29 19:14:47 -04:00
iam4722202468 553927da08 Smooth out edges 2020-09-29 19:01:06 -04:00
iam4722202468 5e3a926194 Add stl files 2020-09-29 15:01:42 -04:00
iam4722202468 4bd0b085a1 Finish model 2020-09-29 14:59:06 -04:00
iam4722202468 cc3cfcc046 Finalize designs 2020-09-27 01:47:18 -04:00
iam4722202468 b19d0b3b2f Merge branch 'master' of github.com:iam4722202468/ThinkpadBattery 2020-09-12 17:42:01 -04:00
iam4722202468 27b3da866f Redesign latch mechanism 2020-09-12 17:41:46 -04:00
Alexander Parent 2122471198
Merge pull request #2 from digmorepaka/master
Improved PCB layout
2020-09-06 13:00:54 -04:00
digmorepaka 90b7da2d7d better pcb 2020-09-06 12:14:29 +02:00
iam4722202468 7a835aff75 Improve battery model 2020-09-04 01:19:15 -04:00
iam4722202468 ca4bce1895 Merge branch 'master' of github.com:iam4722202468/ThinkpadBattery 2020-09-03 19:44:34 -04:00
iam4722202468 7cdd1315fa Work on making latching mechansim spring back 2020-09-03 19:44:22 -04:00
Alexander Parent 73b39fa301
Create LICENSE 2020-09-03 03:34:06 -04:00
iam4722202468 f2f1571f1a Modify locking mechanism to work better 2020-09-01 18:12:08 -04:00
iam4722202468 7f3c61afc1 Add locking mechanism to case model 2020-09-01 03:40:43 -04:00
iam4722202468 4e00624cf3 Add 3d model of case 2020-08-31 15:42:41 -04:00
Alexander Parent e4dddcf9a9
Update README.md 2020-08-31 15:12:56 -04:00
Alexander Parent 4b8ad581b1
Update README.md 2020-08-31 15:08:24 -04:00
Alexander Parent dcf5599152
Update README.md 2020-08-31 14:57:03 -04:00
Alexander Parent 896f29fcdf
Update README.md 2020-08-31 14:27:05 -04:00
Alexander Parent bdc76068a6
Update README.md 2020-08-30 01:13:44 -04:00
iam4722202468 46c3795d8c Remove old code 2020-08-28 13:30:11 -04:00
iam4722202468 e4fd6ac2c4 Merge branch 'master' of github.com:iam4722202468/ThinkpadBattery 2020-08-28 12:27:00 -04:00