Samuel Sadok
b064800116
Add general purpose ADC API
...
ADC1 is configured to sample channels 0 to 15 continuously
at about 30kHz. Users can now set their GPIO of choice to
analog mode (as long as it's wired to one of the analog
channels) and then read the voltage at any time.
The values can be read like this:
GPIO_set_to_analog(GPIO_3_GPIO_Port, GPIO_3_Pin);
my_voltage = get_adc_voltage(GPIO_3_GPIO_Port, GPIO_3_Pin);
2018-04-27 17:46:56 -07:00
Samuel Sadok
e581cc9c90
move enable_dfu_mode() to main.cpp
2018-04-21 22:09:54 -07:00
Samuel Sadok
1d7bf6b467
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_refactoring
2018-04-21 00:07:31 -07:00
Samuel Sadok
741a51442f
split communication into multiple files
2018-04-20 23:44:55 -07:00
Samuel Sadok
abdb037d75
move communication related files
2018-04-20 21:33:39 -07:00
Samuel Sadok
61983a10da
store encoder_configs and controller_configs in NVM
2018-04-07 12:30:37 -07:00
Samuel Sadok
1f732bb0fb
fix stack overflow
2018-03-09 20:23:03 -08:00
Samuel Sadok
93d6a787cd
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_refactoring
2018-03-09 16:01:18 -08:00
Samuel Sadok
9486f9ed15
make stuff working again, improve state machine design, add underscore to member names
2018-03-09 13:37:07 -08:00
Samuel Sadok
f5081352b3
refactor protocol
2018-03-08 12:56:24 -08:00
Samuel Sadok
97aedd46e9
Sanitize error handling and state machine, move common stuff to odrive_main.hpp
2018-03-04 15:49:48 -08:00
Samuel Sadok
b32c87df5a
[TEMP] refactoring: compile works, motors initialize as usual
2018-03-02 22:03:24 -08:00