brianrho / fpm-c Goto Github PK
View Code? Open in Web Editor NEWGeneric C library for R3xx/ZFMxx/FPMxx/R551 fingerprint modules
Generic C library for R3xx/ZFMxx/FPMxx/R551 fingerprint modules
Which parameters do I have to pass to fpm_delete_model in order to delete the fid from the memory of fingerprint module.
I am using stm32 nucleo f411RE with this code. after compilation it gives me the error that "stm32f10x_conf.h: No such file or directory". Is there any file that im missing to add ? Or is it about something else.
Hı Brian Firstly,
I read your code so many times,when I started to create my libraries.I assume Usart1 used as Bluetooth module for serial monitor and Usart6 used for Fingerprint module.After these configurations applied I debug my code and started But code stay always in enroll_mainloop because of this line: " while (uart_avail(&uart1) == 0); "
``
void enroll_mainloop(void)
{
while (1)
{
USART_Puts(USART1,"parmaginizi okutun lutfen\r\n");
while (uart_avail(&uart1) == 0);
USART_Puts(USART1,"parmaginizi kaydetmek icin bos sablon araniyor\r\n");
int16_t fid;
if (get_free_id(&fid))
enroll_finger(fid);
else
USART_Puts(USART1,"No free slot in flash library!\r\n");
while (uart_read_byte(&uart1) != -1); // clear buffer
}
}
//UART_MAX_RX_SIZE =256 uart1->rx_head=0,uart1->rx_tail=0 I received this values
uint16_t uart_avail(uart_t * port)
{
return ((uint16_t)(UART_MAX_RX_SIZE + port->rx_head - port->rx_tail)) % UART_MAX_RX_SIZE;
}
``
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.