From 2004e213790656fc22e471a3272dbb22a15550c2 Mon Sep 17 00:00:00 2001 From: Yohan Boujon Date: Tue, 5 Apr 2022 20:44:47 +0200 Subject: [PATCH] Additions from 05/04/2022: Typo in the name and fixing some dutycycles. --- i2c_test_attiny85/i2c_test_attiny85.cproj | 171 ++++++++++++---------- i2c_test_attiny85/led_gen.c | 10 +- i2c_test_attiny85/main.c | 12 +- 3 files changed, 102 insertions(+), 91 deletions(-) diff --git a/i2c_test_attiny85/i2c_test_attiny85.cproj b/i2c_test_attiny85/i2c_test_attiny85.cproj index ccd39cd..4b26d4a 100755 --- a/i2c_test_attiny85/i2c_test_attiny85.cproj +++ b/i2c_test_attiny85/i2c_test_attiny85.cproj @@ -28,23 +28,23 @@ 0 - - - - - - - - - + + + + + + + + + - com.atmel.avrdbg.tool.stk500 - + com.atmel.avrdbg.tool.ispmk2 + 000200034317 0x1E930B - 125000 + 0 ISP @@ -68,83 +68,94 @@ Simulator + + + + 125000 + + ISP + + com.atmel.avrdbg.tool.ispmk2 + 000200034317 + AVRISP mkII + - -mmcu=attiny85 -B "%24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\gcc\dev\attiny85" - True - True - True - True - False - True - True - - - NDEBUG - - - - - %24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\include - - - Optimize for size (-Os) - True - True - True - - - libm - - - - - %24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\include - - - + -mmcu=attiny85 -B "%24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\gcc\dev\attiny85" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\include + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\include + + + - -mmcu=attiny85 -B "%24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\gcc\dev\attiny85" - True - True - True - True - False - True - True - - - DEBUG - - - - - %24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\include - - - Optimize (-O1) - True - True - Default (-g2) - True - - - libm - - - - - %24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\include - - - Default (-Wa,-g) - + -mmcu=attiny85 -B "%24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\gcc\dev\attiny85" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\include + + + Optimize (-O1) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\atmel\ATtiny_DFP\1.2.118\include + + + Default (-Wa,-g) + diff --git a/i2c_test_attiny85/led_gen.c b/i2c_test_attiny85/led_gen.c index 6b4ac8a..ceb7d34 100755 --- a/i2c_test_attiny85/led_gen.c +++ b/i2c_test_attiny85/led_gen.c @@ -13,7 +13,7 @@ volatile unsigned char led2_state=0; void led1_init(void) { TCCR1|=(1<