https://github.com/hackuarium/bioreactor-platformio
https://github.com/hackuarium/bioreactor-platformio
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hackuarium/bioreactor-platformio
- Owner: Hackuarium
- Created: 2020-08-02T08:19:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T15:11:36.000Z (over 3 years ago)
- Last Synced: 2025-01-17T00:41:35.201Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 411 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Using VSCode:
* Install extension `PlatformIO IDE`
Take care that `C/C++ intellisense` and `C/C++ Clang Command Adapter
` are not installed as this plugin already includes them.
## Autoformat cpp files
In vscode settings change the parameter `C_Cpp: Clang_format_style` and set as value: `{BasedOnStyle: 'Chromium'}`
This will format the code like:
```cpp
void test() {}
void test2() {
int a = 1;
for (int b = 0; b < 10; b++) {
a += b;
}
}
```
# Program bootloader with PlatformIO and USBTinyISP
Go to the platformIO terminal and type:
```bash
$ pio run -e program_via_USBtinyISP --target bootloader
```