Commit Graph

815 Commits (b51018b998bacfd52c97a2badaef5adc9801ae44)

Author SHA1 Message Date
alanbjohnston d7ee690066
starting with FSK
6 years ago
alanbjohnston e933ac7315
defaults to FSK, added afsk command line setting
6 years ago
alanbjohnston 926185ac80
Update main.c
6 years ago
alanbjohnston e26535aca3
Update main.c
6 years ago
alanbjohnston e568f2a925
added killall before AFSK
6 years ago
alanbjohnston 3d32dc0a67
fixed delays around AFSK mode
6 years ago
alanbjohnston a0f6f3a8c2
fixed AFSK looping
6 years ago
alanbjohnston 7c21ce36dc
Update main.c
6 years ago
alanbjohnston e5aa68cfeb
send 3 AFSK packets, shift frequency 3 Hz lower
6 years ago
alanbjohnston 4429dd66c9
fixed tlm_str and str errors
6 years ago
alanbjohnston f3748dffec
Update main.c
6 years ago
alanbjohnston 8ee7a590f3
fixed str typos
6 years ago
alanbjohnston f5d02d5269
added back rpitx afsk code
6 years ago
alanbjohnston 4fb1c99a1a
added socket_open = 0; after closing of socket
6 years ago
alanbjohnston 7f4b533b8f
Update main.c
6 years ago
alanbjohnston 1fb9fbe0b8
BPSK frame count to 3, added debugs
6 years ago
alanbjohnston 43c2f57033
turned on mode alternation
6 years ago
alanbjohnston 4de0c85706
more kill -9
6 years ago
alanbjohnston 80a48603d5
removed rpitxStatus reset on errors to try to figure out sendiq multiplication
6 years ago
alanbjohnston 6134164b02
fixed 0xa5
6 years ago
alanbjohnston c4e6e9ae6a
frameCnt back to 3.
6 years ago
alanbjohnston e1644a7fcb
cleared buffer with a5 instead of 0.
6 years ago
alanbjohnston 199a623fdc
try 2x send
6 years ago
alanbjohnston a7b4bb3896
plus 1 instead of round
6 years ago
alanbjohnston 34b849f332
fixed roundup
6 years ago
alanbjohnston c5931f609d
made float
6 years ago
alanbjohnston 9b6df1c3cd
changed send to only send half of buffer
6 years ago
alanbjohnston c99fdf508c
test 7 to see if it gives 3 frames
6 years ago
alanbjohnston d70748ebda
trying 10 frames
6 years ago
alanbjohnston ccb81a6c59
re-enabled flip_ctr in write_wave
6 years ago
alanbjohnston 38e075dfb3
3 with WAV
6 years ago
alanbjohnston 6f263247ac
adde back in WAV write
6 years ago
alanbjohnston ac798c7861
Update main.c
6 years ago
alanbjohnston 586dc4e3bc
6 frames
6 years ago
alanbjohnston 03034fedf0
and removed printf on write_wave
6 years ago
alanbjohnston 345e26ffc9
made nrd and rd global, set sample and parties back
6 years ago
alanbjohnston 6063b0127b
set parities to sequential number for troubleshooting
6 years ago
alanbjohnston a9e0756c31
changed samples=1 to make printf easier to see
6 years ago
alanbjohnston e79742f90c
added print_wave printf
6 years ago
alanbjohnston 5f3b63c18a
got rid of alt in buffer
6 years ago
alanbjohnston ace3bfccdb
back to 1 sync word. 2 didn't help
6 years ago
alanbjohnston 7f41f94ed7
back to 2 sync_words
6 years ago
alanbjohnston 7da2a69c37
took out for
6 years ago
alanbjohnston 82afa49db7
back to just 1 sync word
6 years ago
alanbjohnston abc0f07ccd
trying 2 sync words instead of just one.
6 years ago
alanbjohnston cf5ee6f726
frameCnt back to 3
6 years ago
alanbjohnston 12ac4be269
frameCnt = 1
6 years ago
alanbjohnston b9aeaa0a7e
frame count 6
6 years ago
alanbjohnston 8df09be064
got rid of one printf
6 years ago
alanbjohnston 725b14af1a
added printf at start of buffer loop
6 years ago
alanbjohnston 7d22bd68da
added more printfs to diagnose
6 years ago
alanbjohnston b52d5abfe0
added printfs for ctr1 and ctr3 to see how many bytes of data8 and data10 written
6 years ago
alanbjohnston 9eb0e7c16e
set frame count to 4
6 years ago
alanbjohnston a6dc543618
put in killall
6 years ago
alanbjohnston ee26fa813d
changing sent printf
6 years ago
alanbjohnston fa2eee922c
changed from i to ctr
6 years ago
alanbjohnston a25847ec54
changed send to i from buffSize
6 years ago
alanbjohnston d9f6cc0010
turned off alt, added printf i and buffSize
6 years ago
alanbjohnston aa627afcb4
added write_wave with buffer[alt]
6 years ago
alanbjohnston 6a61c876ab
back to alternating
6 years ago
alanbjohnston 404674e5c7
back to sleep(3)
6 years ago
alanbjohnston bc0b9514ab
changed sleep to 5
6 years ago
alanbjohnston 97668d75d8
added printf of sock send attempt
6 years ago
alanbjohnston 44de671d53
changed sleep(3) to 1.
6 years ago
alanbjohnston 2d49ce36fd
Update main.c
6 years ago
alanbjohnston 45bc295287
removed printfs
6 years ago
alanbjohnston 6eaa0ff6a7
inserted two sleeps
6 years ago
alanbjohnston e813ba537b
set rpitxStatus if socket lost
6 years ago
alanbjohnston f32c8d00a6
printf on open socket
6 years ago
alanbjohnston 6091c8be80
keep alt = 0, reopen socket on failure, print error in open
6 years ago
alanbjohnston 3a26bd7ee6
set frameCnt back to 3
6 years ago
alanbjohnston 94e1e68c2b
changed frameCnt to 1 to see if connection reset error goes away
6 years ago
alanbjohnston c52796f4a2
Update main.c
6 years ago
alanbjohnston 903fff053a
printf errono if an error in send
6 years ago
alanbjohnston f672b1921b
Update main.c
6 years ago
alanbjohnston f2bc637f1e
include <errno.h>
6 years ago
alanbjohnston 720f804053
added strerror(errno) for send()
6 years ago
alanbjohnston a4d6a7e571
added printf of return value of send()
6 years ago
alanbjohnston 8ae05e2511
fixed dim of buffer
6 years ago
alanbjohnston 07ad5ec59f
Update main.c
6 years ago
alanbjohnston f45bbc645b
made buffer a global
6 years ago
alanbjohnston 16a8aafcb6
print out max bufLen
6 years ago
alanbjohnston 0172a63445
Update main.c
6 years ago
alanbjohnston 6471317960
Update main.c
6 years ago
alanbjohnston bc4ead6f88
added alt to buffer which alternates between 0 and 1
6 years ago
alanbjohnston 3be637dae6
commented out changing mode
6 years ago
alanbjohnston 3482f3a298
printf get_tlm
6 years ago
alanbjohnston 5d4f0d5a08
pre increment mode
6 years ago
alanbjohnston 8eb069b1f8
added modulo printf
6 years ago
alanbjohnston e9cc3e187a
fixed divide by 0
6 years ago
alanbjohnston 2903c8dc05
moved mode settings into loop
6 years ago
alanbjohnston ec22b535d1
incrementing mode modulo 3
6 years ago
alanbjohnston 8f22a0c0a8
works for FSK and BPSK with two sleep(1)s
6 years ago
alanbjohnston 830771d17d
put back in 1 sleep(1)
6 years ago
alanbjohnston 59d66b92d3
added > /dev/null 2>&1 to fuser
6 years ago
alanbjohnston 6dfeda59a0
added > /dev/null 2>&1 to kill
6 years ago
alanbjohnston 87abd8aa70
removed most sleep(1)
6 years ago
alanbjohnston 7adeb180a9
Update main.c
6 years ago
alanbjohnston cdb8e1a216
added sleep(1) after popoens
6 years ago
alanbjohnston ecea1398ae
added sleep(1) after rpitx
6 years ago
alanbjohnston 04e2813782
Update main.c
6 years ago
alanbjohnston 1f28d94643
typos
6 years ago
alanbjohnston 7ceaa6251a
added popens for nc and rpitx commands
6 years ago
alanbjohnston 611c99b3c1
back to h[6] again
6 years ago
alanbjohnston 89816feb70
changed to h[7]
6 years ago
alanbjohnston 0233994ba6
fixed BPSK fox id of 99 in h[6]
6 years ago
alanbjohnston aa2c676c04
added while for loop
6 years ago
alanbjohnston 29365849b0
Update main.c
6 years ago
alanbjohnston f70a784a2b
fixed pointer
6 years ago
alanbjohnston 09b34ba11a
added loop variable from argv[2]
6 years ago
alanbjohnston c7cf8f9a59
Update main.c
6 years ago
alanbjohnston 8c45e7cf84
if argv is 'b' then BPSK mode
6 years ago
alanbjohnston 71d4d04774
added id = 99 for BPSK
6 years ago
alanbjohnston 2bf87ac79c
trying BPSK
6 years ago
alanbjohnston fb1a3dd426
removed b10 and h10
6 years ago
alanbjohnston 1c60563a5c
added if mode ==
6 years ago
alanbjohnston 97571e6d64
removed data[]
6 years ago
alanbjohnston 165b1b946a
fixed dataLen value
6 years ago
alanbjohnston c621eef947
fixed write_wave
6 years ago
alanbjohnston dd0d7cc4eb
Update main.c
6 years ago
alanbjohnston 1459938b67
moved buffer
6 years ago
alanbjohnston e4dcb26a00
moved data8 and other variables
6 years ago
alanbjohnston bfa703a12c
Update main.c
6 years ago
alanbjohnston c71c5b974e
Update main.c
6 years ago
alanbjohnston ebcb84b2d2
moved variables
6 years ago
alanbjohnston 39f76f4156
changing to variables part 2
6 years ago
alanbjohnston fa5ffa55a2
changed from macros to variables - part 1
6 years ago
alanbjohnston e1dc4174e3
turned off LED at start
6 years ago
alanbjohnston 0e89c8da0c
added LED on/off on socket write
6 years ago
alanbjohnston 90920c19cb
FSK
6 years ago
alanbjohnston c3d58f88db
replaced NaN with 0; and tested value for -1 and set fd -1 if not present on bus
6 years ago
alanbjohnston ef6b75dd03
BPSK
6 years ago
alanbjohnston 512bdf538a
Update main.c
6 years ago
alanbjohnston 899838f442
FSK
6 years ago
alanbjohnston 0fb1b95438
BPSK
6 years ago
alanbjohnston 4119e36367
back to continuous and 3 frames of FSK
6 years ago
alanbjohnston 469213cc4d
loop once
6 years ago
alanbjohnston 86646db527
writing transmit.wav and 60 frames sleep(2)
6 years ago
alanbjohnston aae927e049
trying FRAME_CNT 2
6 years ago
alanbjohnston 910c56a6c3
Trying sleep(2);
6 years ago
alanbjohnston 8d52549c9a
Really setting to FRAME_CNT 3
6 years ago
alanbjohnston dcdf7d2c75
Went wrong way, reduced to sleep(3);
6 years ago
alanbjohnston af51b37447
Back to 3, increasing to sleep(5)
6 years ago
alanbjohnston 7733716d7e
Trying FRAME_CNT 4
6 years ago
alanbjohnston 8d22f46e6c
Trying FRAME_CNT 2
6 years ago
alanbjohnston a3e8021702
Increased FRAME_CNT to 14 to see if get better reception
6 years ago
alanbjohnston 8207918d23
back to FSK
6 years ago
alanbjohnston 4c3844ebbb
added frames per sec display
6 years ago
alanbjohnston 8839232786
typo
6 years ago
alanbjohnston fd4b685a09
added mode printf with bits per frame display
6 years ago
alanbjohnston f678a32ef5
BPSK 3 frames at a time
6 years ago
alanbjohnston 45ffdfa29d
FSK, 3 frames per, 4 second delay
6 years ago
alanbjohnston 94c8afaa8a
BPSK amplitude is 3x FSK amplitude
6 years ago
alanbjohnston 19a95f767a
Continuous BPSK Working! Gets layout errors in FoxTelem
6 years ago
alanbjohnston 854ae7ed27
Trying BPSK continuous
6 years ago
alanbjohnston 3a872432e8
Working! Continuous FSK!
6 years ago
alanbjohnston 4ea2c7358a
Didn't work, added ctr=0 in for loop
6 years ago
alanbjohnston 41755fce40
Didn't work, trying enabling for loop
6 years ago
alanbjohnston 2e6d6f2ac3
trying to send multiple times over same socket
6 years ago
alanbjohnston bffd8b1289
Update main.c
6 years ago
alanbjohnston b6dfe6fe39
Working, added socket_open variable to check if socket already open
6 years ago
alanbjohnston 3fea286394
reverted to _old and cnt to 11
6 years ago
alanbjohnston bb177c6240
removed version marks
6 years ago
alanbjohnston 1bcbeac093
Update main.c
6 years ago
Alan Johnston 82707cc9b8 changes done locally - BPSK still not working
6 years ago
alanbjohnston d064285e6f
Seems to work! turned of WAV file write
6 years ago
alanbjohnston f81c883389
turned off popen transmit
6 years ago
alanbjohnston 02b78b26c5
Update main.c
6 years ago
alanbjohnston 4527882610
adding in socket write after WAV file write
6 years ago
alanbjohnston 280d85e43a
Changed DUV to FSK
6 years ago
alanbjohnston e912587c83
actually backing out memcpy changes
6 years ago
alanbjohnston b9b6b9c738
reverted memcpy changes
6 years ago
alanbjohnston 44b260424b
Update main.c
6 years ago
alanbjohnston 08e0455945
Update main.c
6 years ago
alanbjohnston 9bc53de58d
moved initialization
6 years ago
alanbjohnston 3901f3dcf6
Update main.c
6 years ago
alanbjohnston ec0c5d2458
copied in changes from main3.c with memcpy
6 years ago
alanbjohnston 24cb0fe11f
Trying 11 frames
6 years ago
alanbjohnston 74de387895
Trying BPSK
6 years ago
alanbjohnston 59966713d6
sleep 1 to avoid duplicate times, 30 frames
6 years ago
alanbjohnston 8a7455944b
sleep 0.5 to make sure more than 1 sec, 20 in a row
6 years ago
alanbjohnston 441d166620
no sleep
6 years ago
alanbjohnston 13d117fdb5
Update main.c
6 years ago
alanbjohnston 8806efd67b
read telem each time, sleep only 0.5 sec
6 years ago
alanbjohnston 2ef456b82e
current telem instead of voltage
6 years ago
alanbjohnston 673cf8f48a
Update main.c
6 years ago
alanbjohnston 2866deabaf
added neg voltages and battery voltage and current to telem
6 years ago
alanbjohnston cd546883ff
added sendor read
6 years ago
alanbjohnston b1ab3c1df5
Update main.c
6 years ago
alanbjohnston 1d8b5fb15a
Update main.c
6 years ago
alanbjohnston 0eac3399d3
Update main.c
6 years ago
alanbjohnston 374c5cc9f9
added DUV FM modulation
6 years ago
alanbjohnston c869310518
Trying DUV
6 years ago
alanbjohnston 3b6e13d0be
reset back to one shot frame
6 years ago
alanbjohnston 1404b92960
trying continuous, 3 second delay
6 years ago
alanbjohnston e500a6d8c8
3 frames
6 years ago
alanbjohnston f349b32cd0
removed printfs in generation of wav, 2 frames
6 years ago
alanbjohnston aefd3b3b8f
Update main.c
6 years ago
alanbjohnston 170a4b7536
Update main.c
6 years ago
alanbjohnston d62bffa482
added sendiq transmit!
6 years ago
alanbjohnston b8afc693d9
Update main.c
6 years ago
alanbjohnston 2b3a59a0c0
Update main.c
6 years ago
alanbjohnston 4fdd9907b9
Update main.c
6 years ago
alanbjohnston f5a6d0da6a
Update main.c
6 years ago
alanbjohnston 858bf55370
Update main.c
6 years ago
alanbjohnston d0d012fa4e
added make_wav.h
6 years ago
alanbjohnston 04038b143b
moved encode 8b10
6 years ago
alanbjohnston 96bc0732a1
Update main.c
6 years ago
alanbjohnston 0a828e8c7e
Update main.c
6 years ago
alanbjohnston c62971366e
Update main.c
6 years ago
alanbjohnston ea05eb12a9
merged in make_wav code into get_tlm_fox
6 years ago
alanbjohnston 06729a79b7
typo
6 years ago
alanbjohnston f21b47a986
edits to latest Fox-1E telem variable names
6 years ago
alanbjohnston 68a7d50bba
cleanup
6 years ago
alanbjohnston d1dea70e41
defined header offset of 6
6 years ago
alanbjohnston f10681c776
fixed ihu_temp
6 years ago
alanbjohnston 56598af13c
added offset of 6 after header
6 years ago
alanbjohnston 88d28e718d
fixed ihu_cpu_temp
6 years ago
alanbjohnston 0466948964
added lots of fox telemetry fields
6 years ago
alanbjohnston 2b43ed0a68
added cpuTemp
6 years ago
alanbjohnston bdb81fb3d3
testing
6 years ago
alanbjohnston 3fa4178056
testing
6 years ago
alanbjohnston 4426ecf61e
temp
6 years ago
alanbjohnston 29b706f357
temp
6 years ago
alanbjohnston 94421b55a8
added fox telem temp
6 years ago
alanbjohnston 36366a478a
fixed hex printf
6 years ago
alanbjohnston 4810e91091
fixed printf
6 years ago
alanbjohnston 42d1aa3974
change printf
6 years ago
alanbjohnston f3bbad67bc
typo
6 years ago
alanbjohnston e47f058aac
typos in uint8_t
6 years ago
alanbjohnston eb70bd8394
fixed typo
6 years ago
alanbjohnston fb4abcf1c6
changed fmo str to uint_t b
6 years ago
alanbjohnston 8ba69a80d4
more tests of encode A & B
6 years ago
alanbjohnston bac819ac30
typos
6 years ago
alanbjohnston dbdceb5ed8
testing encodeA
6 years ago
alanbjohnston aae2a05dc6
more typos in ecode A & B usage
6 years ago
alanbjohnston 3a98fdfe90
typos in encode A and B
6 years ago
alanbjohnston dd2f70ca86
encode A and B functions added with tests
6 years ago
alanbjohnston 8c10819d60
adding parameters to fox telem
6 years ago
alanbjohnston 1b417de961
initialize fox telmetry to 0's
6 years ago
alanbjohnston 7547db7fb0
display fox telem as hex
6 years ago
alanbjohnston 935687812f
typo in get_tlm_fox
6 years ago
alanbjohnston 5f2b513675
added Fox telemetry formatting to get_tlm_fox
6 years ago
alanbjohnston 1f8069e757
added get_tlm_fox
6 years ago
alanbjohnston 82119b99b4
printf cleanup
6 years ago
alanbjohnston 1d40b91dd6
pointer passing to get_tlm
6 years ago
alanbjohnston 5485d9795f
moved AX.25 header out of get_tlm string str
6 years ago
alanbjohnston 4711c7fc4c
typo
6 years ago
alanbjohnston 3c2960980d
moving tlm array to get_tlm
6 years ago
alanbjohnston e214af7358
passed buffer to get_tlm instead of AO-7 array
6 years ago
alanbjohnston afed75decb
removed transmit
6 years ago
alanbjohnston a48687b744
disabled transmit
6 years ago
alanbjohnston 4018f396ae
moving location of Adafruit_INA219.h
6 years ago
alanbjohnston a76d43c0c5
old code removal
6 years ago
alanbjohnston 9b6ae0f027
old code removal
7 years ago
alanbjohnston 211c94a922
typo
7 years ago
alanbjohnston 81a605c3a6
changed tempSensor into struct
7 years ago
alanbjohnston a1607d6eb3
typos
7 years ago
alanbjohnston 598dcbb2a1
simplified configuration
7 years ago
alanbjohnston 95b816e9aa
rewrote confg_sensor
7 years ago
alanbjohnston 550d93b615
reset
7 years ago
alanbjohnston a931999042
swapped order of voltage and power reading
7 years ago
alanbjohnston f0849cd11d
added calc and config
7 years ago
alanbjohnston 52819fa7ad
a
7 years ago
alanbjohnston d7fb15541d
added calc write before power
7 years ago
alanbjohnston a9df2d2b38
changed power reading
7 years ago
alanbjohnston 8e98c1be19
cleaned up current, voltage, and power readings
7 years ago
alanbjohnston d3e546fba5
reverted current read
7 years ago
alanbjohnston ad35fdedba
Update main.c
7 years ago
alanbjohnston bc9d9125e8
Update main.c
7 years ago
alanbjohnston 6a51214407
50ms delay
7 years ago
alanbjohnston 200b33ed85
tried 2'c complement manual
7 years ago
alanbjohnston c2c56d3944
cleanup after paste and replacing current code too
7 years ago
alanbjohnston 4bcd29327e
typo
7 years ago
alanbjohnston 647a746081
removing wireRead by including code
7 years ago
alanbjohnston f7cf243f36
reverted to previously working with wireRead
7 years ago
alanbjohnston 0f9e1e0835
typo
7 years ago
alanbjohnston af3c96f3c3
fixed typo
7 years ago
alanbjohnston 751da0655e
separate value1 and value2 byte reads
7 years ago
alanbjohnston 7d79af0af9
copied code from wireRead but with int16_t
7 years ago
alanbjohnston c7c6300429
wireReadRegister for current change
7 years ago
alanbjohnston 16478e9d0b
reverted removal of wireReadRegister
7 years ago
alanbjohnston 9420a0b4d7
fixing voltage read problem
7 years ago
alanbjohnston 38110e17c7
replaced last wireReadRegister with wiringPiI2CReadReg16
7 years ago
alanbjohnston 02ea0b9fca
cleanup
7 years ago
alanbjohnston 55c17eb66d
cleanup
7 years ago
alanbjohnston 4f278865a3
back to 16, fixed current shunt calc
7 years ago
alanbjohnston b3160db85c
Tried 12 bits
7 years ago
alanbjohnston 83522ab8f1
fixed shunt calc
7 years ago
alanbjohnston 2719d43034
Update main.c
7 years ago
alanbjohnston e0f01d9b8e
reading shunt voltage and manually calculating current
7 years ago
alanbjohnston 757321b085
removed extra printfs
7 years ago
alanbjohnston c2d331fbd8
fix current calc
7 years ago
alanbjohnston 8399d4ebfb
use twos
7 years ago
alanbjohnston dcbaf2ea98
Update main.c
7 years ago
alanbjohnston b6f6fb8092
Update main.c
7 years ago
alanbjohnston 9164aed395
Update main.c
7 years ago
alanbjohnston ef1961a4ff
Update main.c
7 years ago
alanbjohnston 3674229ade
twosToInt
7 years ago
alanbjohnston 5a83e38f64
Update main.c
7 years ago
alanbjohnston 64cff2c6c5
Update main.c
7 years ago
alanbjohnston be25eb5d88
two's c
7 years ago
alanbjohnston 854d1ca980
Update main.c
7 years ago
alanbjohnston 8a3ad9a14f
Update main.c
7 years ago
alanbjohnston aefe4c9469
3 step
7 years ago
alanbjohnston f233dfb837
Update main.c
7 years ago
alanbjohnston 51868dc739
Update main.c
7 years ago
alanbjohnston 29cd1da1c7
3 steps
7 years ago
alanbjohnston cbfa6829c4
printf in 3 values
7 years ago
alanbjohnston d40e214b39
revert
7 years ago
alanbjohnston 55d68e0b10
uint8_t
7 years ago
alanbjohnston ffcaff8c2d
another change
7 years ago
alanbjohnston 1ac88664e0
changing ints
7 years ago
alanbjohnston d8a28a9179
fixed fd in write
7 years ago
alanbjohnston 053a867ebd
added register write
7 years ago
alanbjohnston 221df1fe09
typo
7 years ago
alanbjohnston b3be894747
added printf to see values
7 years ago
alanbjohnston faa41d1c35
defined value and value2
7 years ago
alanbjohnston a5dcb9b2cb
fixed int16_t for current calc
7 years ago
alanbjohnston 7d06c94372
switched to two wiringPiI2CRead 8 bit reads instead of 16 bit read
7 years ago
alanbjohnston c23c37ac21
type in unit16_t
7 years ago
alanbjohnston d3a321fda1
added int16_t to current I2CRead
7 years ago
alanbjohnston 7d963a0c0c
added (float) to current divider and power multiplier
7 years ago
alanbjohnston 0da6174626
formatting cleanup
7 years ago
alanbjohnston b6b7cc235c
print formatting
7 years ago
alanbjohnston ed5d4844e5
fixed printf formatting
7 years ago
alanbjohnston 001eb01124
typo fix
7 years ago
alanbjohnston eb884ce0e6
cleanup of commented out code
7 years ago
alanbjohnston cb9d4609da
always get voltage and power, cleanup
7 years ago
alanbjohnston fa4850f555
added 2x multiply to fix current values
7 years ago
alanbjohnston 6816d503b5
changed data.config from Adafruit Lib
7 years ago
alanbjohnston a84d5297ee
typos
7 years ago
alanbjohnston 69d4f1a6a7
fixed typos in config function
7 years ago
alanbjohnston 589a817982
added 400mA and 2A configurations
7 years ago
alanbjohnston 86687fea6e
fixed compiler warnings
7 years ago
alanbjohnston 47e2d82e04
fixed x_fd in function call
7 years ago
alanbjohnston 8c591373ca
added sensor reading to the read_sensor_data function
7 years ago
alanbjohnston 278f79d7c8
fixed typos
7 years ago
alanbjohnston 8ea8eaffb5
fixed references to data struct
7 years ago
alanbjohnston 87332dc6a2
fixed initialization of struct
7 years ago
alanbjohnston 025e6effb7
created config structure
7 years ago
alanbjohnston 5fef435df2
Merge branch 'ina-struct' into refactor-i2c-reading-code
7 years ago
alanbjohnston 61240b40ec
changed to all sensor[] tlm
7 years ago
alanbjohnston 8db31fc5c3
commented out readcurrenty.py call
7 years ago
alanbjohnston e6fd3b3dca
changed order of current and bus reading to match old code
7 years ago
alanbjohnston f2260ebc63
commented out last of x_fd, y_fd, and z_fd
7 years ago
alanbjohnston 1171effa92
disable old code to test new code
7 years ago
Alan Johnston 3998bc3165 -X, -Y, and -Z voltage working!
7 years ago
alanbjohnston b10a98064a
fixed value type
7 years ago
alanbjohnston 6d2b7ae798
reverted bus switch, testing new busVolts calculation
7 years ago

Powered by TurnKey Linux.