Neil McKechnie
9dd9990979
Improve formatting of I2CAddress data type in diagnostics.
2023-02-09 00:16:06 +00:00
Neil McKechnie
d8881deb6a
Merge branch 'devel' into devel-nmck
2023-02-07 18:05:18 +00:00
Neil McKechnie
d5a394d4e6
Prepare HAL device drivers to support Extended I2C Addresses
...
Update I2C addresses of HAL devices to type I2CAddress (to support extended address functions).
Cast I2CAddress variables in DIAG calls to (int).
Remove uses of max() function (not available on some platforms.
2023-02-07 14:55:14 +00:00
Harald Barth
c91d66549c
Remove warnings
2023-01-27 19:42:55 +01:00
peteGSX
4acf46db54
EX-IO reads optimised for speed
2023-01-24 08:17:43 +10:00
peteGSX
20b3e9064c
Analogue inputs functioning
2023-01-23 21:35:22 +10:00
peteGSX
459904e5dd
More analogue inputs
2023-01-23 20:12:28 +10:00
peteGSX
878549d538
Working on analogue inputs
2023-01-23 16:26:07 +10:00
peteGSX
7f4e3d9cea
Digital inputs optimised
2023-01-23 11:49:23 +10:00
peteGSX
9b36bdcf46
Logic and diag message done
2023-01-12 08:10:41 +10:00
peteGSX
22e20f9092
Logic added and working
2023-01-12 07:27:42 +10:00
peteGSX
c26f53e1fa
Device driver fixed
2023-01-10 20:05:09 +10:00
peteGSX
e48a40fafb
Change to blocking I2CManager calls
2023-01-10 13:07:54 +10:00
peteGSX
5c120efa16
Add being
2023-01-10 08:16:42 +10:00
peteGSX
9abcfb9e4f
Add begin delay to test
2023-01-09 20:08:36 +10:00
peteGSX
e01893bcf1
Comment out unused variables
2023-01-09 20:03:18 +10:00
peteGSX
322cb3db54
Include driver in IODevice.h
2022-12-29 08:44:08 +10:00
peteGSX
ffdf023de6
Clean up
2022-12-29 05:10:37 +10:00
peteGSX
eea1396997
Remove EX-IO pin macros
2022-12-27 10:10:44 +10:00
peteGSX
71ce913712
Version bugfix
2022-12-26 07:36:12 +10:00
peteGSX
70845b4932
Receive/display EXIO version
2022-12-26 06:44:15 +10:00
peteGSX
c44fb0ac44
Disable device driver version, add myHal example
2022-12-22 07:22:04 +10:00
peteGSX
1c7103c21e
Analogue read bugfix
2022-12-21 08:37:23 +10:00
peteGSX
5170147e3e
Error checking pin config, code tidy
2022-12-20 19:41:32 +10:00
peteGSX
2ad08029a4
Remove excess DIAG output
2022-12-20 08:05:05 +10:00
peteGSX
25b3250345
Digital read working
2022-12-20 07:08:42 +10:00
peteGSX
3973996344
Digital pin config done, digital read in progress
2022-12-19 14:24:49 +10:00
peteGSX
943494385f
Add digital write
2022-12-18 18:59:16 +10:00
peteGSX
c8fea3a4a7
Add version, analogue reads working
2022-12-18 09:43:11 +10:00
peteGSX
a480a5a3d2
Add comments, remove unnecessary functions
2022-12-15 15:10:53 +10:00
peteGSX
070daa37dc
Move buffers to constructor
2022-12-15 07:58:21 +10:00
peteGSX
75f1a8f43a
More bugs to fix
2022-12-14 07:49:09 +10:00
peteGSX
8ecb408da7
Update I2C address, fix bug setting analogue pins
2022-12-13 19:51:41 +10:00
peteGSX
3862f7250d
Fix bugs, learn I2CManager
2022-12-12 19:54:20 +10:00
peteGSX
785b515f9e
Bug fixes, update registers
2022-12-11 19:44:42 +10:00
peteGSX
cb9a8bb7a6
Getting somewhere
2022-12-11 10:22:48 +10:00
peteGSX
1d5897d2d2
A bit lost
2022-12-10 19:14:32 +10:00
peteGSX
7bc0433197
Add myHal.cpp example to driver
2022-12-10 08:32:15 +10:00
peteGSX
af4d8d4075
Merge branch 'add-ex-ioexpander' of https://github.com/DCC-EX/CommandStation-EX into add-ex-ioexpander
2022-12-10 08:25:05 +10:00
peteGSX
06945bb114
Try to add pin map classes
2022-12-10 08:23:46 +10:00
peteGSX
2d27cb052d
Add registers
2022-12-09 14:41:48 +10:00
peteGSX
8cbcf5df32
Basic shell of device driver started
2022-12-08 14:21:01 +10:00