Commit Graph

138 Commits

Author SHA1 Message Date
Fabien Chouteau
eb5fa3782e ST7735R: improve drawing performances in buffer-less mode 2018-10-26 19:32:51 +02:00
Fabien Chouteau
09a8d57920 Components: Improve MMA8653 driver 2018-07-13 19:44:34 +02:00
Fabien Chouteau
4d32971732 HAL.GPIO: Switch to a capability system
Instead of returning False when a configuration is not supported, users
can call a function beforehand to know if it is supported. The
capability is also now a precondition of the setup procedures.
2018-07-11 18:46:16 +02:00
Fabien Chouteau
571f0d2f1a Remove unused project files 2018-04-27 21:16:41 +02:00
Fabien Chouteau
36f137ad18 Fix "use clause for has no effect" errors 2018-03-09 16:59:59 +01:00
Fabien Chouteau
a0d3a78bc1 SGTL5000: Fix some typos 2017-12-04 00:09:50 +01:00
Fabien Chouteau
71db1abc3e AdaFruit.Thermal_Printer: Add a procedure to print HAL.Bitmap 2017-10-18 17:38:47 +02:00
Fabien Chouteau
9cb9fc0bd9 SSD1306: Fix initialization for 128x64 displays 2017-08-25 18:09:09 +02:00
Fabien Chouteau
91b68d0e49 SSD1306: Override procedure Fill with a faster implementation 2017-08-18 18:52:10 +02:00
Fabien Chouteau
9a512a7fa0 Merge pull request #206 from AdaCore/ssd1306_fix
Fix SSD1306 drawing by overriding missing pixel primitives
2017-08-07 11:12:12 +02:00
Fabien Chouteau
87d8dfb09e ST7735R: Change SPI data transmit to send all pixels at once
This allow for fast DMA transfer
2017-07-06 22:07:19 +02:00
Fabien Chouteau
1780c8728b SSD1306: override remaining pixel primitives 2017-07-02 18:31:38 +02:00
Fabien Chouteau
384c43ace8 Merge pull request #204 from AdaCore/gpl2017_migration
GNAT wavefront/GPL2017 migration
2017-06-28 19:23:33 +02:00
Fabien Chouteau
3a7945c20a Use new GPRbuild attribute: Create_Missing_Dirs
And remove now useless .gitignore files and empty directories.
2017-06-27 15:58:10 +02:00
Jerome Lambourg
b4acbb9ad9 Further refactor the board projects.
This commit in particular removes the need for aggregate projects.
2017-06-26 18:18:59 +02:00
Jerome Lambourg
a63e6fc852 Fix the examples. 2017-06-26 18:18:58 +02:00
Fabien Chouteau
3e1dacbb68 Components: Add SGTL5000 DAC support 2017-06-14 22:50:42 +02:00
Lambourg Jérôme
751f0489df Merge pull request #194 from AdaCore/bno055_fixes
Minor fixes in the BNO055 IMU component.
2017-05-19 20:53:50 +02:00
Jerome Lambourg
2eaab4f787 Fix naming convention in vl53l0x 2017-05-19 17:21:34 +02:00
Jerome Lambourg
d2efcc000b Revert partially the change in Set_Mode.
The delay identifier was correct...
2017-05-19 16:52:19 +02:00
Jerome Lambourg
19a93e8bce Minor fixes in the BNO055 IMU component. 2017-05-19 15:41:30 +02:00
Jerome Lambourg
2671b177fb Add support for the ST VL53L0x Time-of-Flight sensor. 2017-05-19 15:38:27 +02:00
Fabien Chouteau
c10a6bada0 HAL.Bitmap: Simplify interface with notion of source color
There are two color formats in HAL.Bitmap, the Bitmap_Color (with Alpha,
Red, Green, Blue components) and the "native" raw value of the pixel.

In the current interface users select a color for each operations (Fill,
Draw_Line, Draw_Circle, etc.) which means each operation has to be
declared twice, one with a Bitmap_Color and one with native pixel value.

Inspired by the Cairo graphics library, this patch add a Set_Source
primitive which allows to specify the color that will be use. Each
drawing operation then uses this color for rendering.

This simplifies the interface since drawing operation only have to be
declared once. It may also allow for more advanced sources in the future
like gradients or textures.
2017-05-10 00:59:13 +02:00
Fabien Chouteau
77f1696ba8 Components\ST7735R: Fix type name 2017-02-26 20:30:50 +01:00
Fabien Chouteau
7b43eb2e50 Components: Add SSD1306 OLED screen driver support 2017-02-26 20:30:50 +01:00