Small example to show how to use pointers to return more than one (1) variable from a function in C or C++
Tag: code
This mini project shows how to connect the Sparkfun Compass Module (SKU SEN-07915) to both the Arduino Uno and the Arduino Mega 2560. As these two Arduino boards are 5V devices, and the Compass Module is a 3.3V module, the I2C bus must be translated. This is done using the Logic Level Converter from Sparkfun […]
Had the need to create some strings in the form of an array of hex codes for the charachters the other day which was a little cumbersom, so put together some quick php code to do it for me. So thought I’d share it with you. You can access it at http://electronics.trev.id.au/str2hex.php. Just enter your […]
Well I’m going to run with the PIC24 for the time being and use the Microcontrollers – From Assembly Language to C Using the PIC24 Family book, but jumping to chapter 8 as the assembly language is not what I want at the moment. It’s learning about C and the PIC24. Anyway, as I’m using […]