-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
44 lines (39 loc) · 1.07 KB
/
platformio.ini
File metadata and controls
44 lines (39 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
description = Micro I2C-Scanner with 0.96inch OLED and ATtiny85
default_envs = t85
libdeps_dir = ~/.platformio/lib
[env]
platform = atmelavr
framework = arduino
targets = checkprogsize
lib_deps = U8g2
[env:t85]
board = attiny85
upload_protocol = usbasp -pt85
lib_deps =
https://github.com/olikraus/U8g2_Arduino#2.24.3
TinyWireM
; SSD1306 on software I2C:
build_flags =
-D DISPLAY_128X64=SSD1306
-D DISPLAY_SW_I2C=PB4,PB3 ; scl,sda
-D TACT_PIN=1
; -D USE_U8X8
[env:m168]
board = pro8MHzatmega168 ; @3.3V/8 MHz
build_flags =
-D DISPLAY_128X64=SH1106
; -D DISPLAY_SW_I2C=11,10 ; scl,sda
; -D TACT_PIN=LED_BUILTIN
[env:m328]
board = pro8MHzatmega328 ; @3.3V/8 MHz
build_flags = ${env:m168.build_flags}