Skip to content

Instantly share code, notes, and snippets.

@shaielc
shaielc / SlaveSPIClass.cpp
Last active April 28, 2023 10:18
SlaveSPIClass_esp32_Arduino
#include<SlaveSPIClass.h>
int SlaveSPI::size = 0;
SlaveSPI** SlaveSPI::SlaveSPIVector = NULL;
void setupIntr(spi_slave_transaction_t * trans)
{
for(int i=0 ; i<SlaveSPI::size;i++)
{
if(SlaveSPI::SlaveSPIVector[i]->match(trans))
SlaveSPI::SlaveSPIVector[i]->setup_intr(trans);
}
@shaielc
shaielc / HardwareSerial.cpp
Last active December 20, 2021 13:50
interrupt extension for UART
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include "HardwareSerial.h"
HardwareSerial Serial(0);
HardwareSerial::HardwareSerial(int uart_nr) : _uart_nr(uart_nr), _uart(NULL) {}
void HardwareSerial::setInterrupt(void(*arg)() )
{
"basics": {
"name": "Shy-El Cohen",
"label": "Algorithm Developer",
"image": "https://i.imgur.com/By8N2nK.jpg",
"email": "[email protected]",
"phone": "0544910932",
"summary": "**Autodidactic** electrical engineer with 6+ years of experience in algorithm development, with **full system responsibilities**. With diverse skillset including Digital Signal Processing, Mathematical programming, Cloud Computing, and Software Development. Looking forward to working on DSP and ML algorithms.",
"location": {
},