Recent Posts
Depending on the form complexity, fill each DTO attribute from $ _REQUEST may be a lot of work. Of course, good frameworks solve this case easily. But if for some reason our framework don't implement this mapping, or if we aren't using any framework, and for each DTO attribute we must do something like $ dto-> seAttributeName ($ _REQUEST ['attributeName']), an alternative is to implement a simple function that does it for us.
In hardware development, the use of reusable software in physical components replacement may be a great alternative when you wish a lower cost in manufacturing. One of the best allies of this perspective of low-cost hardware is the old Bit Bang (or Bit Banging) technique. Using this technique it's possible to enable our microcontroller to communicate with protocols as I2C, UART, SPI, USB, ethernet, among others, without the need of a specific hardware to do so. All done by software.
The 16FUSB is a software implementation of the USB low-speed for PIC16F628/628A microcontroller. All communication stuff is done by the firmware, completely discarding the need to use an additional chip. From the 16FUSB core is possible to add implementations of other protocols such as, for example, I2C, SPI or simple write data from the USB host (PC) directly to the PIC pins.
Subscribe to Lend locus RSS
Quick And Not Dirty Ones