Добавлена библиотека IRremote #10

Merged
klassents merged 75 commits from dev into v0.5.0 2025-01-25 06:52:11 +03:00
4 changed files with 4 additions and 5 deletions
Showing only changes of commit e4b7b933ac - Show all commits

View File

@ -88,6 +88,7 @@
|[Adafruit_ILI9341](https://docs.arduino.cc/libraries/adafruit-ili9341/)|Библиотека для работы с дисплеем Adafruit ILI9341|
|[TFT](https://docs.arduino.cc/libraries/tft/)|Графическая библиотека, совместимая с большинством TFT-дисплеев на базе чипа ST7735|
|[Adafruit_TCS34725](https://docs.arduino.cc/libraries/adafruit-tcs34725/)|Библиотека для работы с датчиком цвета с ИК-фильтром TCS34725|
|[DS18B20](https://docs.arduino.cc/libraries/ds18b20/)|Библиотека для работы с однопроводным датчиком температуры Maxim Integrated DS18B20|
# Полезные ссылки

View File

@ -4,8 +4,8 @@
#include "Arduino.h"
// --------------------- init --------------------- //
// called before setup()
void pre_init(void)
// called from crt0.S before constructors initialization
extern "C" void SystemInit(void)
{
// set irq vector to ram region
write_csr(mtvec, 0x02000000);

View File

@ -5,8 +5,7 @@ extern volatile bool use_error_messages;
#define DISABLE_ERROR_MESSAGES() (use_error_messages = false)
#define ENABLE_ERROR_MESSAGES() (use_error_messages = true)
// functions for init called before and after setup()
void pre_init(void) ;
// function for init called after setup()
void post_init(void);
#endif /* _BOARD_H_ */

View File

@ -4,7 +4,6 @@
int main()
{
pre_init();
setup();
post_init();