This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Take the difference of only the time portion of timestamps ignoring the date portion through dataframe columns. | |
import pandas as pd | |
import numpy as np | |
import datetime as dt | |
import datetime | |
from datetime import timedelta, datetime, date | |
df3 = pd.read_csv("combine.csv", parse_dates=['bl.start','bl.end','ex.start','ex.end','ExamStart','ScrathcpadStart']) | |
# extracting time from timestamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "main.h" | |
unsigned char LedYak(unsigned char sira, unsigned int yanmaSure); | |
int main(void) | |
{ | |
HAL_Init(); // After HAL_Init(), System is running on default HSI clock (16MHz). PLL is disabled. The clock to APB1 bus is 16Mhz (HSI clock). | |
SystemClock_Config(); | |
// Kodunuz buraya! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "main.h" | |
/* | |
Projede Drivers/STM32F4xx_HAL_Driver altinda kullanilacak .c dosyasinin bulunmamasinin adimlari (adc icin): | |
Oncesinde uygun yerlere asagidakileri indir. | |
stm32f4xx_hal_adc.c | |
stm32f4xx_hal_adc_ex.c | |
stm32f4xx_hal_adc.h | |
stm32f4xx_hal_adc_ex.h | |
Projeye ADC icin asagidaki iki kutuphaneyi ekle | |
stm32f4xx_hal_adc.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 25 Oct 2019 | |
@author: Ibrahim Ozturk | |
@link : http://oku.ozturkibrahim.com/ | |
STM32F4DISCOVERY kitindeki 4 pine bagli 4 ledin sabit ve değişken aralikli yakılıp söndürülmesi. | |
Ödev içeriğine dair daha detaylı bilgi için aşağıdaki linki tıklayınız: | |
http://oku.ozturkibrahim.com/docs/Microprocessors_HW02_GPIO_LED.pdf | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 11 Oct 2019 | |
@author: Ibrahim Ozturk | |
@link : http://oku.ozturkibrahim.com/ | |
STM32F4DISCOVERY kitindeki 4 pine bagli 4 ledin öncül tanımlamalarına ait fonksiyon içeriği | |
''' | |
void GPIO_Ayarla(void) | |
{ | |
GPIO_InitTypeDef GPIO_InitStructure; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 2 Nov 2016 | |
@author: io517@york.ac.uk | |
@link : http://www.ozturkibrahim.com/ | |
Give a stimulus and see the trajectory of membrane voltage | |
''' | |
from brian2 import * | |
import brian2tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 7 Jul 2016 | |
@author: io517@york.ac.uk | |
''' | |
import brian2 | |
print("brian_version : " + str(brian2.__version__)) | |
from brian2 import * | |
indices = np.array([0, 2, 1]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 5 Jul 2016 | |
@author: io517@york.ac.uk | |
''' | |
import brian2 | |
print("brian_version : " + str(brian2.__version__)) | |
from brian2 import * | |
indices = np.array([0, 2, 1]) |